public interface UserDetails extends Serializable
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.
| Modifier and Type | Method and Description | 
|---|---|
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. 
 | 
Authority[] getAuthorities()
null.null)String getPassword()
null.null)String getUsername()
null.null)Copyright © GigaSpaces.