|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RoleSecurityHandler
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 | |
|---|---|
RolePrincipal |
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(RolePrincipal rolePrincipal)
Removes the role principal. |
void |
setRolePrincipal(RolePrincipal rolePrincipal)
Sets the role principal in the backing store. |
| Method Detail |
|---|
RolePrincipal getRolePrincipal(String roleFullPathName)
Gets the role principal for the role full path name {principal}.{subprincipal}.
roleFullPathName - The role full path name.
Principal
void setRolePrincipal(RolePrincipal rolePrincipal)
throws SecurityException
Sets the role principal in the backing store.
rolePrincipal - The RolePrincipal.
SecurityException - Throws a SecurityException.
void removeRolePrincipal(RolePrincipal rolePrincipal)
throws SecurityException
Removes the role principal.
rolePrincipal - The RolePrincipal.
SecurityException - Throws a SecurityException.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 | |||||||||