|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface encapsulates the persistence of security groups.
This provides a central placeholder for changing the persistence of groups security information.
A security implementation wanting to store group security implementation in LDAP for instance would need to provide an LDAP implementation of this interface.
Method Summary | |
Principal |
getGroupPrincipal(String groupFullPathName)
Gets the group principal for the group full path name {principal}.{subprincipal}. |
List |
getGroupPrincipals(String filter)
Gets the an iterator of group principals for a given filter. |
void |
removeGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal)
Removes the group principal. |
void |
setGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal)
Sets the group principal in the backing store. |
Method Detail |
public Principal getGroupPrincipal(String groupFullPathName)
Gets the group principal for the group full path name {principal}.{subprincipal}.
groupFullPathName
- The group full path name.
Principal
public void setGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal) throws org.apache.jetspeed.security.SecurityException
Sets the group principal in the backing store.
groupPrincipal
- The GroupPrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.public void removeGroupPrincipal(org.apache.jetspeed.security.GroupPrincipal groupPrincipal) throws org.apache.jetspeed.security.SecurityException
Removes the group principal.
groupPrincipal
- The GroupPrincipal
.
org.apache.jetspeed.security.SecurityException
- Throws a SecurityException
.public List getGroupPrincipals(String filter)
Gets the an iterator of group principals for a given filter.
filter
- The filter.
Principal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |