|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.spi.impl.DefaultRoleSecurityHandler
RoleSecurityHandler
Field Summary | |
private SecurityAccess |
commonQueries
Common queries. |
Constructor Summary | |
DefaultRoleSecurityHandler(SecurityAccess commonQueries)
Constructor providing access to the common queries. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private SecurityAccess commonQueries
Constructor Detail |
public DefaultRoleSecurityHandler(SecurityAccess commonQueries)
Constructor providing access to the common queries.
Method Detail |
public Principal getRolePrincipal(String roleFullPathName)
RoleSecurityHandler
Gets the role principal for the role full path name {principal}.{subprincipal}.
getRolePrincipal
in interface RoleSecurityHandler
roleFullPathName
- The role full path name.
Principal- See Also:
RoleSecurityHandler.getRolePrincipal(java.lang.String)
public void setRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal) throws org.apache.jetspeed.security.SecurityException
RoleSecurityHandler
Sets the role principal in the backing store.
setRolePrincipal
in interface RoleSecurityHandler
rolePrincipal
- The RolePrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.RoleSecurityHandler.setRolePrincipal(org.apache.jetspeed.security.RolePrincipal)
public void removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal) throws org.apache.jetspeed.security.SecurityException
RoleSecurityHandler
Removes the role principal.
removeRolePrincipal
in interface RoleSecurityHandler
rolePrincipal
- The RolePrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.RoleSecurityHandler.removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal)
public List getRolePrincipals(String filter)
RoleSecurityHandler
Gets the an iterator of role principals for a given filter.
getRolePrincipals
in interface RoleSecurityHandler
filter
- The filter.
Principal
RoleSecurityHandler.getRolePrincipals(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |