- <init>
Constructs a SimpleAccount instance for the specified principals and
credentials.
- addRole
Adds one or more roles to this Account's set of assigned roles. Simply delegates
tothis.authzInfo.ad
- isCredentialsExpired
Returns whether or not the Account's credentials are expired. This usually
indicates that the Subjec
- isLocked
Returns true if this Account is locked and thus cannot be used to login, false
otherwise.
- addObjectPermissions
Assigns one or more object-based permissions directly to this Account (not any
of its realms).
- getPrincipals
Returns the principals, aka the identifying attributes (username, user id, first
name, last name, et
- setCredentialsExpired
Sets whether or not the Account's credentials are expired. A true value
indicates that the Subject o
- setLocked
Sets whether or not the account is locked and can be used to login.
- setRoles
Sets the Account's assigned roles. Simply calls this.authzInfo.setRoles(roles).
- getCredentials
Simply returns this.authcInfo.getCredentials. The authcInfo attribute is
constructed via the constru
- setObjectPermissions
Sets all object-based permissions assigned directly to this Account (not any of
its realms).
- setPrincipals
Sets the principals, aka the identifying attributes (username, user id, first
name, last name, etc)