|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.security.RepositoryApplicationPersona
public class RepositoryApplicationPersona
This is the Persona implementation that is produced by the RepositoryApplicationUserAuthority.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
RepositoryApplicationPersona(RepositoryApplicationUserAuthority pUserAuthority,
java.lang.String pName,
RepositoryItem pItem)
Constructor |
Method Summary | |
---|---|
void |
addSubPersona(Persona pNewSubPersona)
Adds a new sub-persona. |
boolean |
equals(java.lang.Object pObject)
Returns true if this persona is equivalent to another. |
java.util.Collection |
getAccessRights()
Access rights not supported by RepositoryApplicationPersona |
java.lang.Object |
getAttribute(java.lang.String pAttributeName)
Retrieves the value of a named attribute of the persona's account. |
java.lang.String |
getName()
Returns the machine-readable name of the persona, useful for persisting the object. |
java.lang.String |
getPassword()
Returns the value of the password property directly from the Repository |
Persona[] |
getSubPersonae()
Returns a list of sub-personae that compose this persona. |
UserAuthority |
getUserAuthority()
Returns the authority that manages this persona. |
boolean |
hasPersona(Persona pPersona)
Returns true if this persona matches or encompasses the indicated persona. |
boolean |
hasRole(java.lang.String pRoleName)
Returns true if this persona contains a role with the specified role name. |
void |
removeSubPersona(Persona pOldPersona)
Removes a sub-persona. |
void |
setSubPersonae(Persona[] pNewSubPersonae)
Changes the list of sub-personae that compose this persona. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.security.Principal |
---|
hashCode, toString |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public RepositoryApplicationPersona(RepositoryApplicationUserAuthority pUserAuthority, java.lang.String pName, RepositoryItem pItem)
Method Detail |
---|
public java.lang.String getPassword()
public java.lang.String getName()
getName
in interface Persona
getName
in interface java.security.Principal
public UserAuthority getUserAuthority()
getUserAuthority
in interface Persona
public boolean equals(java.lang.Object pObject)
equals
in interface Persona
equals
in interface java.security.Principal
equals
in class java.lang.Object
public boolean hasPersona(Persona pPersona)
hasPersona
in interface Persona
public Persona[] getSubPersonae()
getSubPersonae
in interface Persona
public void setSubPersonae(Persona[] pNewSubPersonae) throws InvalidPersonaException
setSubPersonae
in interface Persona
InvalidPersonaException
public void addSubPersona(Persona pNewSubPersona) throws InvalidPersonaException
addSubPersona
in interface Persona
InvalidPersonaException
public void removeSubPersona(Persona pOldPersona) throws InvalidPersonaException
removeSubPersona
in interface Persona
InvalidPersonaException
public java.lang.Object getAttribute(java.lang.String pAttributeName)
getAttribute
in interface Persona
SecurityDomain.createResource(java.lang.Object, java.lang.Object, atg.security.AccessControlEntry[])
public boolean hasRole(java.lang.String pRoleName)
hasRole
in interface Persona
public java.util.Collection getAccessRights()
getAccessRights
in interface Persona
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |