Modifier and Type | Method and Description |
---|---|
User |
SecurityContext.getCachedUser()
Remote calls to
AuthenticationService are cached, such that calls
to this method can retrieve the logged in User from memory. |
Modifier and Type | Method and Description |
---|---|
void |
SecurityContext.setCachedUser(User user)
Validate and set the cached user.
|
Modifier and Type | Method and Description |
---|---|
User |
SecurityContextImpl.getCachedUser() |
User |
BasicUserCacheImpl.getUser() |
Modifier and Type | Method and Description |
---|---|
void |
SecurityContextImpl.setCachedUser(User user) |
void |
BasicUserCacheImpl.setUser(User user) |
Modifier and Type | Method and Description |
---|---|
User |
ActiveUserCache.getUser() |
Modifier and Type | Method and Description |
---|---|
void |
ActiveUserCache.setUser(User user)
Set the currently logged in
User . |
Modifier and Type | Method and Description |
---|---|
User |
UserStorageHandler.getUser()
Returns the locally persisted user if one can be found.
|
Modifier and Type | Method and Description |
---|---|
void |
UserStorageHandler.setUser(User user)
Persists the given user locally, using whatever means this implementation
supports.
|
Modifier and Type | Method and Description |
---|---|
protected User |
KeycloakAuthenticationService.createKeycloakUser(org.keycloak.representations.AccessToken accessToken) |
User |
KeycloakAuthenticationService.getUser() |
User |
KeycloakAuthenticationService.login(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
User |
NonCachingUserServiceImpl.getUser() |
User |
PicketLinkAuthenticationService.getUser() |
User |
PicketLinkAuthenticationService.login(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
static User |
UserCookieEncoder.fromCookieValue(String userString)
Decode a persisted
User from a cookie value. |
Modifier and Type | Method and Description |
---|---|
static String |
UserCookieEncoder.toCookieValue(User user)
Encode a cookie value used for persisting a
User . |
Modifier and Type | Class and Description |
---|---|
class |
UserImpl
Default implementation of
User , used by Errai's PicketLink and
Keycloak integration modules. |
Modifier and Type | Field and Description |
---|---|
static User |
User.ANONYMOUS
Represents a user who is not logged in.
|
Modifier and Type | Method and Description |
---|---|
User |
LoggedInEvent.getUser() |
Constructor and Description |
---|
LoggedInEvent(User user) |
Modifier and Type | Method and Description |
---|---|
User |
NonCachingUserService.getUser() |
User |
AuthenticationService.getUser()
Get the currently authenticated user.
|
User |
AuthenticationService.login(String username,
String password)
Login with the given username and password, throwing an exception if the login fails.
|
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.