|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserDetails
User details to store user information accessed by the UserManager
and SecurityManager
.
This allows non-security related user information (such as email addresses, telephone numbers etc) to be stored in a convenient location.
Concrete implementations must take particular care to ensure the non-null contract detailed for each method is enforced.
Concrete implementations should be immutable (value object semantics, like a String). This is
because the UserDetails
will be stored in caches and as such multiple threads may
use the same instance.
Method Summary | |
---|---|
Authority[] |
getAuthorities()
Returns the granted authorities granted to the user. |
String |
getPassword()
Returns the password used to authenticate the user. |
String |
getUsername()
Returns the username used to authenticate the user. |
Method Detail |
---|
Authority[] getAuthorities()
null
.
null
)String getPassword()
null
.
null
)String getUsername()
null
.
null
)
|
GigaSpaces XAP 10.0.1 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |