|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.om.impl.InternalPrincipalImpl
org.apache.jetspeed.security.om.impl.InternalUserPrincipalImpl
InternalUserPrincipal
interface implementation.
Field Summary | |
private Collection |
credentials
The credentials. |
private Collection |
groupPrincipals
The group principals. |
private Collection |
rolePrincipals
The role principals. |
(package private) static String |
USER_PRINCIPAL_CLASSNAME
User principal security class. |
Fields inherited from class org.apache.jetspeed.security.om.impl.InternalPrincipalImpl |
ojbConcreteClass |
Constructor Summary | |
InternalUserPrincipalImpl()
InternalUserPrincipal implementation default constructor. |
|
InternalUserPrincipalImpl(String username)
Constructor to create a new user principal and its credential given a username and password. |
Method Summary | |
boolean |
equals(Object object)
Compares this InternalUserPrincipal to the provided user principal
and check if they are equal. |
Collection |
getCredentials()
|
Collection |
getGroupPrincipals()
|
Collection |
getRolePrincipals()
|
void |
setCredentials(Collection credentials)
|
void |
setGroupPrincipals(Collection groupPrincipals)
|
void |
setRolePrincipals(Collection rolePrincipals)
|
Methods inherited from class org.apache.jetspeed.security.om.impl.InternalPrincipalImpl |
getClassname, getCreationDate, getFullPath, getModifiedDate, getPermissions, getPrincipalId, isEnabled, isMappingOnly, setClassname, setCreationDate, setEnabled, setFullPath, setMappingOnly, setModifiedDate, setPermissions, setPrincipalId |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.security.om.InternalPrincipal |
getClassname, getCreationDate, getFullPath, getModifiedDate, getPermissions, getPrincipalId, isEnabled, isMappingOnly, setClassname, setCreationDate, setEnabled, setFullPath, setMappingOnly, setModifiedDate, setPermissions, setPrincipalId |
Field Detail |
static String USER_PRINCIPAL_CLASSNAME
User principal security class.
private Collection credentials
private Collection rolePrincipals
private Collection groupPrincipals
Constructor Detail |
public InternalUserPrincipalImpl()
InternalUserPrincipal implementation default constructor.
public InternalUserPrincipalImpl(String username)
Constructor to create a new user principal and its credential given a username and password.
username
- The username.Method Detail |
public Collection getCredentials()
getCredentials
in interface org.apache.jetspeed.security.om.InternalUserPrincipal
InternalUserPrincipal.getCredentials()
public void setCredentials(Collection credentials)
setCredentials
in interface org.apache.jetspeed.security.om.InternalUserPrincipal
InternalUserPrincipal.setCredentials(java.util.Collection)
public Collection getRolePrincipals()
getRolePrincipals
in interface org.apache.jetspeed.security.om.InternalUserPrincipal
InternalUserPrincipal.getRolePrincipals()
public void setRolePrincipals(Collection rolePrincipals)
setRolePrincipals
in interface org.apache.jetspeed.security.om.InternalUserPrincipal
InternalUserPrincipal.setRolePrincipals(java.util.Collection)
public Collection getGroupPrincipals()
getGroupPrincipals
in interface org.apache.jetspeed.security.om.InternalUserPrincipal
InternalUserPrincipal.getGroupPrincipals()
public void setGroupPrincipals(Collection groupPrincipals)
setGroupPrincipals
in interface org.apache.jetspeed.security.om.InternalUserPrincipal
InternalUserPrincipal.setGroupPrincipals(java.util.Collection)
public boolean equals(Object object)
Compares this InternalUserPrincipal
to the provided user principal
and check if they are equal.
InternalUserPrincipal
are equal.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |