atg.security
Class GenericPersona
java.lang.Object
atg.security.PersonaAdapter
atg.security.GenericPersona
- All Implemented Interfaces:
- Persona, java.io.Serializable, java.security.Principal
- Direct Known Subclasses:
- GenericDefaultGroupPersona, GenericGroupPersona, GenericLoginPersona
public class GenericPersona
- extends PersonaAdapter
Implements a generic persona, which is an identity used to grant access
control rights within a security domain.
- See Also:
- Serialized Form
|
Method Summary |
Account |
getAccount()
Returns the account that is associated with this persona. |
void |
setAccount(Account pAccount)
Changes the account that is associated with this persona. |
| Methods inherited from class atg.security.PersonaAdapter |
addSubPersona, equals, getAccessRights, getAttribute, getName, getSubPersonae, getUserAuthority, hashCode, hasPersona, hasRole, isReadOnly, main, removeSubPersona, setAttribute, setAttributes, setReadOnly, setSubPersonae, toString |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
CLASS_VERSION
public static java.lang.String CLASS_VERSION
GenericPersona
public GenericPersona(java.lang.String pName,
UserAuthority pAuthority)
- Creates a new persona with a given name and user authority.
GenericPersona
public GenericPersona(Account pAccount)
- Creates a new persona given an Account object. The account's
account manager must be an instance of UserAuthority.
getAccount
public Account getAccount()
- Returns the account that is associated with this persona.
- See Also:
mAccount
setAccount
public void setAccount(Account pAccount)
- Changes the account that is associated with this persona.
- See Also:
mAccount