|
||||||||||
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.LdapGroupSecurityHandler
public class LdapGroupSecurityHandler
GroupSecurityHandler
Field Summary | |
---|---|
private LdapPrincipalDao |
ldap
The LdapPrincipalDao . |
private static org.apache.commons.logging.Log |
logger
The logger. |
Constructor Summary | |
---|---|
LdapGroupSecurityHandler()
Default constructor. |
|
LdapGroupSecurityHandler(LdapPrincipalDao ldap)
|
Method Summary | |
---|---|
org.apache.jetspeed.security.GroupPrincipal |
getGroupPrincipal(String groupPrincipalUid)
|
List |
getGroupPrincipals(String filter)
|
private void |
logSecurityException(org.apache.jetspeed.security.SecurityException e,
String groupPrincipalUid)
Log the security exception. |
void |
removeGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal)
|
void |
setGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal)
|
private void |
verifyGroupId(String groupPrincipalUid)
Verify that the group uid is valid. |
private void |
verifyGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal)
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 LdapGroupSecurityHandler(LdapPrincipalDao ldap)
ldap
- The LdapPrincipalDao
.public LdapGroupSecurityHandler() 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.GroupPrincipal getGroupPrincipal(String groupPrincipalUid)
getGroupPrincipal
in interface org.apache.jetspeed.security.spi.GroupSecurityHandler
GroupSecurityHandler.getGroupPrincipal(java.lang.String)
private void verifyGroupId(String groupPrincipalUid)
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.public void setGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal) throws org.apache.jetspeed.security.SecurityException
setGroupPrincipal
in interface org.apache.jetspeed.security.spi.GroupSecurityHandler
org.apache.jetspeed.security.SecurityException
GroupSecurityHandler.setGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal)
private void verifyGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal)
Verify that the group principal is valid.
groupPrincipal
- The group principal.public void removeGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal) throws org.apache.jetspeed.security.SecurityException
removeGroupPrincipal
in interface org.apache.jetspeed.security.spi.GroupSecurityHandler
org.apache.jetspeed.security.SecurityException
GroupSecurityHandler.removeGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal)
public List getGroupPrincipals(String filter)
getGroupPrincipals
in interface org.apache.jetspeed.security.spi.GroupSecurityHandler
GroupSecurityHandler.getGroupPrincipals(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |