|
||||||||||
| 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(String userPrincipalUid,
String groupPrincipalUid)
Add a user to a group. |
void |
addRole(String userPrincipalUid,
String rolePrincipalUid)
Add a user to a group. |
void |
addRoleToGroup(String groupPrincipalUid,
String rolePrincipalUid)
Add a role to a group. |
String[] |
getGroupUidsForUser(String userPrincipalUid)
Return an array of the group principal UIDS that belong to a specific user. |
String[] |
getRolesForGroup(String groupPrincipalUid)
Return an array of the role principal UIDS that belong to a specific group. |
String[] |
getRoleUidsForUser(String userPrincipalUid)
Return an array of the role 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. |
String[] |
getUserUidsForRole(String rolePrincipalUid)
Return an array of the user principal uids that belong to a role. |
void |
removeGroup(String userPrincipalUid,
String groupPrincipalUid)
Remove a user from a group. |
void |
removeRole(String userPrincipalUid,
String rolePrincipalUid)
Remove a user from a group. |
void |
removeRoleFromGroup(String groupPrincipalUid,
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(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.
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.
void addRole(String userPrincipalUid,
String rolePrincipalUid)
throws org.apache.jetspeed.security.SecurityException
Add a user to a group.
userPrincipalUid - The user principal.rolePrincipalUid - The role principal.
org.apache.jetspeed.security.SecurityException - A SecurityException.
void removeRole(String userPrincipalUid,
String rolePrincipalUid)
throws org.apache.jetspeed.security.SecurityException
Remove a user from a group.
userPrincipalUid - The user principal.rolePrincipalUid - The role principal.
org.apache.jetspeed.security.SecurityException - A SecurityException.
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.
String[] getRoleUidsForUser(String userPrincipalUid)
throws org.apache.jetspeed.security.SecurityException
Return an array of the role principal UIDS that belong to a specific user.
userPrincipalUid - The user principal uid.
org.apache.jetspeed.security.SecurityException - A SecurityException.
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.
String[] getUserUidsForRole(String rolePrincipalUid)
throws org.apache.jetspeed.security.SecurityException
Return an array of the user principal uids that belong to a role.
rolePrincipalUid - The role uid.
org.apache.jetspeed.security.SecurityException - A SecurityException.
String[] getRolesForGroup(String groupPrincipalUid)
throws org.apache.jetspeed.security.SecurityException
Return an array of the role principal UIDS that belong to a specific group.
groupPrincipalUid - The group principal uid.
org.apache.jetspeed.security.SecurityException - A SecurityException.
void addRoleToGroup(String groupPrincipalUid,
String rolePrincipalUid)
throws org.apache.jetspeed.security.SecurityException
Add a role to a group.
groupPrincipalUid - The group principal.rolePrincipalUid - The role principal.
org.apache.jetspeed.security.SecurityException - A SecurityException.
void removeRoleFromGroup(String groupPrincipalUid,
String rolePrincipalUid)
throws org.apache.jetspeed.security.SecurityException
Remove a role from a group.
groupPrincipalUid - The group principal.rolePrincipalUid - The role principal.
org.apache.jetspeed.security.SecurityException - A SecurityException.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||