|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The ldap user principal DAO.
Method Summary | |
void |
addGroup(String userPrincipalUid,
String groupPrincipalUid)
Add a user to a group. |
String[] |
getGroupUidsForUser(String userPrincipalUid)
Return an array of the group principal UIDS that belong to a specific user. |
String[] |
getUserUidsForGroup(String groupPrincipalUid)
Return an array of the user principal uids that belong to a group. |
void |
removeGroup(String userPrincipalUid,
String groupPrincipalUid)
Remove a user from a group. |
Methods inherited from interface org.apache.jetspeed.security.spi.impl.ldap.LdapPrincipalDao |
create, delete, find |
Methods inherited from interface org.apache.jetspeed.security.spi.impl.ldap.LdapReadOnlyPrincipalDao |
lookupByUid |
Method Detail |
public void addGroup(String userPrincipalUid, String groupPrincipalUid) throws org.apache.jetspeed.security.SecurityException
Add a user to a group.
userPrincipalUid
- The user principal.groupPrincipalUid
- The group principal.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.public void removeGroup(String userPrincipalUid, String groupPrincipalUid) throws org.apache.jetspeed.security.SecurityException
Remove a user from a group.
userPrincipalUid
- The user principal.groupPrincipalUid
- The group principal.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.public String[] getGroupUidsForUser(String userPrincipalUid) throws org.apache.jetspeed.security.SecurityException
Return an array of the group principal UIDS that belong to a specific user.
userPrincipalUid
- The user principal uid.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.public String[] getUserUidsForGroup(String groupPrincipalUid) throws org.apache.jetspeed.security.SecurityException
Return an array of the user principal uids that belong to a group.
groupPrincipalUid
- The group uid.
org.apache.jetspeed.security.SecurityException
- A SecurityException
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |