|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jetspeed.security.spi.impl.LdapRoleSecurityHandler
public class LdapRoleSecurityHandler
| Constructor Summary | |
|---|---|
LdapRoleSecurityHandler()
Default constructor. |
|
LdapRoleSecurityHandler(LdapPrincipalDao ldap)
|
|
| 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 LdapRoleSecurityHandler(LdapPrincipalDao ldap)
ldap - The LdapPrincipalDao.
public LdapRoleSecurityHandler()
throws javax.naming.NamingException,
SecurityException
Default constructor.
javax.naming.NamingException - A NamingException.
SecurityException - A SecurityException.| Method Detail |
|---|
public RolePrincipal getRolePrincipal(java.lang.String roleFullPathName)
RoleSecurityHandlerGets the role principal for the role full path name {principal}.{subprincipal}.
getRolePrincipal in interface RoleSecurityHandlerroleFullPathName - The role full path name.
Principal
public void setRolePrincipal(RolePrincipal rolePrincipal)
throws SecurityException
RoleSecurityHandlerSets the role principal in the backing store.
setRolePrincipal in interface RoleSecurityHandlerrolePrincipal - The RolePrincipal.
SecurityException - Throws a SecurityException.
public void removeRolePrincipal(RolePrincipal rolePrincipal)
throws SecurityException
RoleSecurityHandlerRemoves the role principal.
removeRolePrincipal in interface RoleSecurityHandlerrolePrincipal - The RolePrincipal.
SecurityException - Throws a SecurityException.public java.util.List getRolePrincipals(java.lang.String filter)
RoleSecurityHandlerGets the an iterator of role principals for a given filter.
getRolePrincipals in interface RoleSecurityHandlerfilter - The filter.
Principal
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||