|
||||||||||
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
public class InternalUserPrincipalImpl
InternalUserPrincipal
interface implementation.
Field Summary |
---|
Fields inherited from class org.apache.jetspeed.security.om.impl.InternalPrincipalImpl |
---|
ojbConcreteClass |
Constructor Summary | |
---|---|
InternalUserPrincipalImpl()
InternalUserPrincipal implementation default constructor. |
|
InternalUserPrincipalImpl(java.lang.String username)
Constructor to create a new user principal and its credential given a username and password. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Compares this InternalUserPrincipal to the provided user principal
and check if they are equal. |
java.util.Collection |
getCredentials()
Getter for the security credentials. |
java.util.Collection |
getGroupPrincipals()
Getter for the group principals. |
java.util.Collection |
getRolePrincipals()
Getter for the role principals. |
void |
setCredentials(java.util.Collection credentials)
Setter for the security credentials. |
void |
setGroupPrincipals(java.util.Collection groupPrincipals)
Setter for the group principals. |
void |
setRolePrincipals(java.util.Collection rolePrincipals)
Setter for the role principals. |
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 |
Constructor Detail |
---|
public InternalUserPrincipalImpl()
InternalUserPrincipal implementation default constructor.
public InternalUserPrincipalImpl(java.lang.String username)
Constructor to create a new user principal and its credential given a username and password.
username
- The username.Method Detail |
---|
public java.util.Collection getCredentials()
InternalUserPrincipal
Getter for the security credentials.
getCredentials
in interface InternalUserPrincipal
InternalUserPrincipal.getCredentials()
public void setCredentials(java.util.Collection credentials)
InternalUserPrincipal
Setter for the security credentials.
setCredentials
in interface InternalUserPrincipal
credentials
- The credentials.InternalUserPrincipal.setCredentials(java.util.Collection)
public java.util.Collection getRolePrincipals()
InternalUserPrincipal
Getter for the role principals.
getRolePrincipals
in interface InternalUserPrincipal
InternalUserPrincipal.getRolePrincipals()
public void setRolePrincipals(java.util.Collection rolePrincipals)
InternalUserPrincipal
Setter for the role principals.
setRolePrincipals
in interface InternalUserPrincipal
rolePrincipals
- The role principals.InternalUserPrincipal.setRolePrincipals(java.util.Collection)
public java.util.Collection getGroupPrincipals()
InternalUserPrincipal
Getter for the group principals.
getGroupPrincipals
in interface InternalUserPrincipal
InternalUserPrincipal.getGroupPrincipals()
public void setGroupPrincipals(java.util.Collection groupPrincipals)
InternalUserPrincipal
Setter for the group principals.
setGroupPrincipals
in interface InternalUserPrincipal
groupPrincipals
- The group principals.InternalUserPrincipal.setGroupPrincipals(java.util.Collection)
public boolean equals(java.lang.Object object)
Compares this InternalUserPrincipal
to the provided user principal
and check if they are equal.
InternalUserPrincipal
are equal.
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |