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