|
||||||||||
| 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 |
List<Authority> |
getAuthorities()
Get all authorities granted to this user |
List<Authority> |
getAuthorities(Class<? extends Authority> clazz)
Get authorities of the specified type granted to this user |
boolean |
getEnabled()
Get the user enable status. |
String |
getHomeDirectory()
Get the user home directory |
int |
getMaxIdleTime()
Get the maximum idle time in seconds. |
String |
getName()
Get the user name. |
String |
getPassword()
Get password. |
| Method Detail |
|---|
String getName()
String getPassword()
List<Authority> getAuthorities()
List<Authority> getAuthorities(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()
String getHomeDirectory()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||