|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jetspeed.security.spi.impl.LdapRoleSecurityHandler
public class LdapRoleSecurityHandler
Field Summary | |
---|---|
private LdapPrincipalDao |
ldap
The LdapPrincipalDao . |
private static org.apache.commons.logging.Log |
logger
The logger. |
Constructor Summary | |
---|---|
LdapRoleSecurityHandler()
Default constructor. |
|
LdapRoleSecurityHandler(LdapPrincipalDao ldap)
|
Method Summary | |
---|---|
org.apache.jetspeed.security.RolePrincipal |
getRolePrincipal(String roleFullPathName)
|
List |
getRolePrincipals(String filter)
|
private void |
logSecurityException(org.apache.jetspeed.security.SecurityException e,
String groupPrincipalUid)
Log the security exception. |
void |
removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
|
void |
setRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
|
private void |
verifyRoleId(String rolePrincipalUid)
Verify that the group uid is valid. |
private void |
verifyRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
Verify that the group principal is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final org.apache.commons.logging.Log logger
private LdapPrincipalDao ldap
LdapPrincipalDao
.
Constructor Detail |
---|
public LdapRoleSecurityHandler(LdapPrincipalDao ldap)
ldap
- The LdapPrincipalDao
.public LdapRoleSecurityHandler() throws NamingException, org.apache.jetspeed.security.SecurityException
Default constructor.
NamingException
- A NamingException
.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.Method Detail |
---|
public org.apache.jetspeed.security.RolePrincipal getRolePrincipal(String roleFullPathName)
getRolePrincipal
in interface org.apache.jetspeed.security.spi.RoleSecurityHandler
public void setRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal) throws org.apache.jetspeed.security.SecurityException
setRolePrincipal
in interface org.apache.jetspeed.security.spi.RoleSecurityHandler
org.apache.jetspeed.security.SecurityException
public void removeRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal) throws org.apache.jetspeed.security.SecurityException
removeRolePrincipal
in interface org.apache.jetspeed.security.spi.RoleSecurityHandler
org.apache.jetspeed.security.SecurityException
public List getRolePrincipals(String filter)
getRolePrincipals
in interface org.apache.jetspeed.security.spi.RoleSecurityHandler
private void verifyRoleId(String rolePrincipalUid)
Verify that the group uid is valid.
groupPrincipalUid
- The group uid.private void logSecurityException(org.apache.jetspeed.security.SecurityException e, String groupPrincipalUid)
Log the security exception.
e
- The SecurityException
.groupPrincipalUid
- The group principal uid.private void verifyRolePrincipal(org.apache.jetspeed.security.RolePrincipal rolePrincipal)
Verify that the group principal is valid.
groupPrincipal
- The group principal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |