public interface Account extends Serializable, Principal
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription() |
Map<String,Object> |
getDetails()
Returns the authorities granted to the user.
|
String |
getName() |
String |
getRemoteToken() |
boolean |
isAccountExpired()
Indicates whether the user's account has expired.
|
boolean |
isAccountLocked()
Indicates whether the user is locked or unlocked.
|
boolean |
isCredentialExpired()
Indicates whether the user's credentials (password) has expired.
|
boolean |
isEnabled()
Indicates whether the user is enabled or disabled.
|
String getRemoteToken()
String getDescription()
Map<String,Object> getDetails()
null.null)boolean isAccountExpired()
true if the user's account is valid (ie
non-expired), false if no longer valid (ie expired)boolean isAccountLocked()
true if the user is not locked, false otherwiseboolean isCredentialExpired()
true if the user's credentials are valid (ie
non-expired), false if no longer valid (ie expired)boolean isEnabled()
true if the user is enabled, false otherwiseCopyright © 2005–2018 The Beangle Software. All rights reserved.