|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface encapsulates the persistence of security roles.
This provides a central placeholder for changing the persistence of roles security information.
A security implementation wanting to store role security implementation in LDAP for instance would need to provide an LDAP implementation of this interface.
Method Summary | |
Principal |
getRolePrincipal(String roleFullPathName)
Gets the role principal for the role full path name {principal}.{subprincipal}. |
List |
getRolePrincipals(String filter)
Gets the an iterator of role principals for a given filter. |
void |
removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
Removes the role principal. |
void |
setRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
Sets the role principal in the backing store. |
Method Detail |
public Principal getRolePrincipal(String roleFullPathName)
Gets the role principal for the role full path name {principal}.{subprincipal}.
roleFullPathName
- The role full path name.
Principal
public void setRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal) throws org.apache.jetspeed.security.SecurityException
Sets the role principal in the backing store.
rolePrincipal
- The RolePrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.public void removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal) throws org.apache.jetspeed.security.SecurityException
Removes the role principal.
rolePrincipal
- The RolePrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.public List getRolePrincipals(String filter)
Gets the an iterator of role principals for a given filter.
filter
- The filter.
Principal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |