|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This control:
| Nested Class Summary |
| Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
| Method Summary | |
void |
addGroupToGroup(String parentGroup,
String childGroup)
Add a child group to a group |
void |
addUserToGroup(String groupname,
String username)
Add a user to a group. |
ProfileWrapper |
createGroup(String name)
|
List |
getAllGroupNames()
|
List |
getChildGroupNames(String groupname)
Retrieve a list of all children of a group. |
List |
getGroupNamesForUser(String username)
Get a list of groups to which this user belongs |
List |
getParentGroupNames(String groupname)
Retrieve the parents of a group. |
List |
getTopLevelGroupNames()
Retrieve a list of groups that do not have parent groups. |
List |
getUsernamesForGroup(String groupname)
|
List |
getUsernamesForGroupLimited(String groupname,
String searchExpression,
int limit)
Retrieve a list of users in a group, matching the provided wildcard expression |
boolean |
groupExists(String group)
Determines if a group exists in the realm. |
boolean |
isDeletableGroup(String groupName)
Determine if a group can be deleted. |
boolean |
isDescendent(String ancestor,
String descendent)
Determine if one group is a descendent of another. |
boolean |
isMemberOfGroup(String groupname,
String username,
boolean recurse)
Determine if a user is a member of a group. |
void |
removeGroup(String groupname)
Remove a group. |
void |
removeGroupFromGroup(String parentGroup,
String childGroup)
Remove a child group from a group |
void |
removeUserFromGroup(String groupname,
String username)
Remove a user from a group |
| Method Detail |
public void addGroupToGroup(String parentGroup,
String childGroup)
throws OperationNotSupportedException
parentGroup - the name of the group to modifychildGroup - the name of the group to add
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public void addUserToGroup(String groupname,
String username)
throws OperationNotSupportedException
groupname - the name of the group to modifyusername - the name of the user to add
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public ProfileWrapper createGroup(String name)
throws GroupAlreadyExistsException,
InvalidGroupnameException,
OperationNotSupportedException,
P13nControlException
GroupAlreadyExistsException - if the group already exists
InvalidGroupnameException - if the group name is invalid
OperationNotSupportedException - if authentication provider
implementation does not support this operation
P13nControlException - if remote errors occur
public List getAllGroupNames()
throws OperationNotSupportedException
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public List getChildGroupNames(String groupname)
throws OperationNotSupportedException
groupname - the group to query
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public List getGroupNamesForUser(String username)
throws OperationNotSupportedException
username - Current user name
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public List getParentGroupNames(String groupname)
throws OperationNotSupportedException
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public List getTopLevelGroupNames()
throws OperationNotSupportedException
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public List getUsernamesForGroup(String groupname)
throws OperationNotSupportedException
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public List getUsernamesForGroupLimited(String groupname,
String searchExpression,
int limit)
throws OperationNotSupportedException
groupname - the group to querysearchExpression - a wildcard expression to matchlimit - the maximum number of results to return
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public boolean groupExists(String group)
throws OperationNotSupportedException
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public boolean isDeletableGroup(String groupName)
throws OperationNotSupportedException
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public boolean isDescendent(String ancestor,
String descendent)
throws OperationNotSupportedException
ancestor - see if the other group is a descendent of this groupdescendent - see if this is a descendent of the other group
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public boolean isMemberOfGroup(String groupname,
String username,
boolean recurse)
throws OperationNotSupportedException
groupname - the group to queryusername - the user to look forrecurse - Extend search to descendents of groupName
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public void removeGroup(String groupname)
throws InvalidGroupnameException,
OperationNotSupportedException
InvalidGroupnameException - if the group name is invalid
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public void removeGroupFromGroup(String parentGroup,
String childGroup)
throws OperationNotSupportedException
parentGroup - the name of the group to modifychildGroup - the name of the group to remove
OperationNotSupportedException - if authentication provider
implementation does not support this operation
public void removeUserFromGroup(String groupname,
String username)
throws OperationNotSupportedException
groupname - the name of the group to modifyusername - the name of the user to remove
OperationNotSupportedException - if authentication provider
implementation does not support this operation
|
© 2005 BEA Systems, Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||