public interface UserState
Modifier and Type | Interface and Description |
---|---|
static class |
UserState.Factory
A factory for creating a UserState.
|
Modifier and Type | Field and Description |
---|---|
static ArrayList<UserStateFactory> |
FACTORIES
An ordered list of factories for creating UserState instances.
|
Modifier and Type | Method and Description |
---|---|
Subject |
getSubject()
Returns the Subject for this user.
|
User |
getUser()
Returns the User object for this user.
|
User |
relogin()
Attempts to log in again, and returns the new User.
|
static final ArrayList<UserStateFactory> FACTORIES
Subject getSubject()
Subject
for this user stateUser getUser() throws UnauthenticatedException
User
for this user stateUnauthenticatedException
- if the attempted login failedUser relogin() throws UnauthenticatedException
User
for this user state, after the reloginUnauthenticatedException
- if the re-login failedCopyright © 2023. All Rights Reserved.