|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jetspeed.security.spi.impl.LdapGroupSecurityHandler
public class LdapGroupSecurityHandler
GroupSecurityHandler
Constructor Summary | |
---|---|
LdapGroupSecurityHandler()
Default constructor. |
|
LdapGroupSecurityHandler(LdapPrincipalDao ldap)
|
Method Summary | |
---|---|
GroupPrincipal |
getGroupPrincipal(java.lang.String groupPrincipalUid)
Gets the group principal for the group full path name {principal}.{subprincipal}. |
java.util.List |
getGroupPrincipals(java.lang.String filter)
Gets the an iterator of group principals for a given filter. |
void |
removeGroupPrincipal(GroupPrincipal groupPrincipal)
Removes the group principal. |
void |
setGroupPrincipal(GroupPrincipal groupPrincipal)
Sets the group 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 LdapGroupSecurityHandler(LdapPrincipalDao ldap)
ldap
- The LdapPrincipalDao
.public LdapGroupSecurityHandler() throws javax.naming.NamingException, SecurityException
Default constructor.
javax.naming.NamingException
- A NamingException
.
SecurityException
- A SecurityException
.Method Detail |
---|
public GroupPrincipal getGroupPrincipal(java.lang.String groupPrincipalUid)
GroupSecurityHandler
Gets the group principal for the group full path name {principal}.{subprincipal}.
getGroupPrincipal
in interface GroupSecurityHandler
groupPrincipalUid
- The group full path name.
Principal- See Also:
GroupSecurityHandler.getGroupPrincipal(java.lang.String)
public void setGroupPrincipal(GroupPrincipal groupPrincipal) throws SecurityException
GroupSecurityHandler
Sets the group principal in the backing store.
setGroupPrincipal
in interface GroupSecurityHandler
groupPrincipal
- The GroupPrincipal
.
SecurityException
- Throws a SecurityException
.GroupSecurityHandler.setGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal)
public void removeGroupPrincipal(GroupPrincipal groupPrincipal) throws SecurityException
GroupSecurityHandler
Removes the group principal.
removeGroupPrincipal
in interface GroupSecurityHandler
groupPrincipal
- The GroupPrincipal
.
SecurityException
- Throws a SecurityException
.GroupSecurityHandler.removeGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal)
public java.util.List getGroupPrincipals(java.lang.String filter)
GroupSecurityHandler
Gets the an iterator of group principals for a given filter.
getGroupPrincipals
in interface GroupSecurityHandler
filter
- The filter.
Principal
GroupSecurityHandler.getGroupPrincipals(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |