|
||||||||||
| 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.InternalRolePrincipalImpl
public class InternalRolePrincipalImpl
InternalRolePrincipal interface implementation.
| Field Summary | |
|---|---|
private Collection |
groupPrincipals
|
(package private) static String |
ROLE_PRINCIPAL_CLASSNAME
Role principal security class. |
private static long |
serialVersionUID
The serial version uid. |
private Collection |
userPrincipals
|
| Fields inherited from class org.apache.jetspeed.security.om.impl.InternalPrincipalImpl |
|---|
ojbConcreteClass |
| Constructor Summary | |
|---|---|
InternalRolePrincipalImpl()
Role principal implementation default constructor. |
|
InternalRolePrincipalImpl(String fullPath)
Constructor to create a new role principal. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
Compares this InternalRolePrincipal to the provided role principal
and check if they are equal. |
Collection |
getGroupPrincipals()
|
Collection |
getUserPrincipals()
|
void |
setGroupPrincipals(Collection groupPrincipals)
|
void |
setUserPrincipals(Collection userPrincipals)
|
| 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 |
|---|
private static final long serialVersionUID
static String ROLE_PRINCIPAL_CLASSNAME
Role principal security class.
private Collection userPrincipals
private Collection groupPrincipals
| Constructor Detail |
|---|
public InternalRolePrincipalImpl()
Role principal implementation default constructor.
public InternalRolePrincipalImpl(String fullPath)
Constructor to create a new role principal.
fullPath - The role full path.| Method Detail |
|---|
public Collection getUserPrincipals()
getUserPrincipals in interface org.apache.jetspeed.security.om.InternalRolePrincipalInternalRolePrincipal.getUserPrincipals()public void setUserPrincipals(Collection userPrincipals)
setUserPrincipals in interface org.apache.jetspeed.security.om.InternalRolePrincipalInternalRolePrincipal.setUserPrincipals(java.util.Collection)public Collection getGroupPrincipals()
getGroupPrincipals in interface org.apache.jetspeed.security.om.InternalRolePrincipalInternalRolePrincipal.getGroupPrincipals()public void setGroupPrincipals(Collection groupPrincipals)
setGroupPrincipals in interface org.apache.jetspeed.security.om.InternalRolePrincipalInternalRolePrincipal.setGroupPrincipals(java.util.Collection)public boolean equals(Object object)
Compares this InternalRolePrincipal to the provided role principal
and check if they are equal.
InternalRolePrincipal are equal.
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||