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