|
||||||||||
| 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()
InternalUserPrincipalGetter for the security credentials.
getCredentials in interface InternalUserPrincipalInternalUserPrincipal.getCredentials()public void setCredentials(java.util.Collection credentials)
InternalUserPrincipalSetter for the security credentials.
setCredentials in interface InternalUserPrincipalcredentials - The credentials.InternalUserPrincipal.setCredentials(java.util.Collection)public java.util.Collection getRolePrincipals()
InternalUserPrincipalGetter for the role principals.
getRolePrincipals in interface InternalUserPrincipalInternalUserPrincipal.getRolePrincipals()public void setRolePrincipals(java.util.Collection rolePrincipals)
InternalUserPrincipalSetter for the role principals.
setRolePrincipals in interface InternalUserPrincipalrolePrincipals - The role principals.InternalUserPrincipal.setRolePrincipals(java.util.Collection)public java.util.Collection getGroupPrincipals()
InternalUserPrincipalGetter for the group principals.
getGroupPrincipals in interface InternalUserPrincipalInternalUserPrincipal.getGroupPrincipals()public void setGroupPrincipals(java.util.Collection groupPrincipals)
InternalUserPrincipalSetter for the group principals.
setGroupPrincipals in interface InternalUserPrincipalgroupPrincipals - 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 | |||||||||