public interface AuthenticatedUser extends Identifiable
| Modifier and Type | Field and Description |
|---|---|
static String |
ANONYMOUS_IDENTIFIER
The identifier reserved for representing a user that has authenticated
anonymously.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationProvider |
getAuthenticationProvider()
Returns the AuthenticationProvider that authenticated this user.
|
Credentials |
getCredentials()
Returns the credentials that the user provided when they successfully
authenticated.
|
Set<String> |
getEffectiveUserGroups()
Returns a read-only set of the identifiers of all user groups which
apply to this authenticated user.
|
void |
invalidate()
Invalidates this authenticated user and their associated token such that
they are no longer logged in.
|
getIdentifier, setIdentifierstatic final String ANONYMOUS_IDENTIFIER
AuthenticationProvider getAuthenticationProvider()
Credentials getCredentials()
Set<String> getEffectiveUserGroups()
void invalidate()
Copyright © 2020. All rights reserved.