|
||||||||||
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
public class DefaultRoleSecurityHandler
RoleSecurityHandler
Constructor Summary | |
---|---|
DefaultRoleSecurityHandler(SecurityAccess commonQueries)
Constructor providing access to the common queries. |
Method Summary | |
---|---|
RolePrincipal |
getRolePrincipal(java.lang.String roleFullPathName)
Gets the role principal for the role full path name {principal}.{subprincipal}. |
java.util.List |
getRolePrincipals(java.lang.String filter)
Gets the an iterator of role principals for a given filter. |
void |
removeRolePrincipal(RolePrincipal rolePrincipal)
Removes the role principal. |
void |
setRolePrincipal(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 |
Constructor Detail |
---|
public DefaultRoleSecurityHandler(SecurityAccess commonQueries)
Constructor providing access to the common queries.
Method Detail |
---|
public RolePrincipal getRolePrincipal(java.lang.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(RolePrincipal rolePrincipal) throws SecurityException
RoleSecurityHandler
Sets the role principal in the backing store.
setRolePrincipal
in interface RoleSecurityHandler
rolePrincipal
- The RolePrincipal
.
SecurityException
- Throws a SecurityException
.RoleSecurityHandler.setRolePrincipal(org.apache.jetspeed.security.RolePrincipal)
public void removeRolePrincipal(RolePrincipal rolePrincipal) throws SecurityException
RoleSecurityHandler
Removes the role principal.
removeRolePrincipal
in interface RoleSecurityHandler
rolePrincipal
- The RolePrincipal
.
SecurityException
- Throws a SecurityException
.RoleSecurityHandler.removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal)
public java.util.List getRolePrincipals(java.lang.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 |