|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface User
Basic user interface.
Method Summary | |
---|---|
AuthorizationRequest |
authorize(AuthorizationRequest request)
Authorize a AuthorizationRequest for this user |
java.util.List<Authority> |
getAuthorities()
Get all authorities granted to this user |
java.util.List<Authority> |
getAuthorities(java.lang.Class<? extends Authority> clazz)
Get authorities of the specified type granted to this user |
boolean |
getEnabled()
Get the user enable status. |
java.lang.String |
getHomeDirectory()
gGet the user home directory |
int |
getMaxIdleTime()
Get the maximum idle time in seconds. |
java.lang.String |
getName()
Get the user name. |
java.lang.String |
getPassword()
Get password. |
Method Detail |
---|
java.lang.String getName()
java.lang.String getPassword()
java.util.List<Authority> getAuthorities()
java.util.List<Authority> getAuthorities(java.lang.Class<? extends Authority> clazz)
clazz
- The type of Authority
AuthorizationRequest authorize(AuthorizationRequest request)
AuthorizationRequest
for this user
request
- The AuthorizationRequest
to authorize
int getMaxIdleTime()
boolean getEnabled()
java.lang.String getHomeDirectory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |