|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserStorageHandler
Contract for things that can remember the current user (identifier, roles, properties) in some way that can persist between browser sessions.
Method Summary | |
---|---|
User |
getUser()
Returns the locally persisted user if one can be found. |
void |
setUser(User user)
Persists the given user locally, using whatever means this implementation supports. |
Method Detail |
---|
User getUser()
void setUser(User user)
user
- the user instance to remember for later, or null to forget the
current user (clears any existing information about a user out
of the persistent store).
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |