|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupManager
Remote interface for the GroupManager session bean. This class depends on the following EJB environment in the ejb deployment descriptor:
RealmHelper.getProviderMBean()
Method Summary | |
---|---|
void |
addGroupToGroup(String parentGroup,
String childGroup)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
void |
addUserToGroup(String groupname,
String username)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
ProfileWrapper |
createGroup(String name)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
List |
getAllGroupNames()
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
List |
getChildGroupNames(String groupname)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
List |
getGroupNamesForUser(String username)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
ProfileWrapper |
getGroupProfile(String name)
Deprecated See com.bea.p13n.usermgmt.profile.ProfileFactory |
ProfileManager |
getGroupProfileManager(String name)
Deprecated Returns a profile manager that can be used to access a group's profile. |
String |
getParentGroupName(String groupname)
Deprecated This method no longer supported. Use methods of com.bea.p13n.security.management.authentication.AtnManagerProxy |
List |
getTopLevelGroupNames()
Deprecated This method no longer supported. Use methods of com.bea.p13n.security.management.authentication.AtnManagerProxy |
List |
getUsernamesForGroup(String groupname)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
List |
getUsernamesForGroup(String groupname,
String searchExpression,
int limit)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
boolean |
groupExists(String name)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
boolean |
isDeletableGroup(String name)
Deprecated See com.bea.p13n.security.management.authentication.AtnSecurityMgmtHelper |
boolean |
isDescendent(String ancestor,
String descendent)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
boolean |
isMember(String groupname,
String username)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
void |
removeGroup(String name)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
void |
removeGroupFromGroup(String parentGroup,
String childGroup)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
void |
removeUserFromGroup(String groupname,
String username)
Deprecated See com.bea.p13n.security.management.authentication.AtnManagerProxy |
Methods inherited from interface javax.ejb.EJBObject |
---|
getEJBHome, getHandle, getPrimaryKey, isIdentical, remove |
Method Detail |
---|
ProfileWrapper getGroupProfile(String name) throws RemoteException
name
- the name of the group to access
RemoteException
ProfileManager getGroupProfileManager(String name) throws RemoteException
name
- the name of the group to access
RemoteException
boolean groupExists(String name) throws RemoteException
name
- the group name to check
RemoteException
ProfileWrapper createGroup(String name) throws RemoteException, GroupAlreadyExistsException, InvalidGroupnameException
GroupAlreadyExistsException
- if the group already exists
InvalidGroupnameException
- if the group name is invalid
RemoteException
boolean isDeletableGroup(String name) throws RemoteException
RemoteException
void removeGroup(String name) throws RemoteException, InvalidGroupnameException
the
- name of the group to remove
InvalidGroupnameException
- if the group is protected and cannot be deleted
RemoteException
void addUserToGroup(String groupname, String username) throws RemoteException
groupname
- the name of the group to modifyusername
- the name of the user to add
RemoteException
void removeUserFromGroup(String groupname, String username) throws RemoteException
groupname
- the name of the group to modifyusername
- the name of the user to remove
RemoteException
void addGroupToGroup(String parentGroup, String childGroup) throws RemoteException
parentGroup
- the name of the group to modifychildGroup
- the name of the group to add
RemoteException
void removeGroupFromGroup(String parentGroup, String childGroup) throws RemoteException
parentGroup
- the name of the group to modifychildGroup
- the name of the group to remove
RemoteException
List getTopLevelGroupNames() throws RemoteException
RemoteException
List getAllGroupNames() throws RemoteException
RemoteException
List getGroupNamesForUser(String username) throws RemoteException
username
- the user to query
RemoteException
List getUsernamesForGroup(String groupname) throws RemoteException
groupname
- the group to query
RemoteException
List getUsernamesForGroup(String groupname, String searchExpression, int limit) throws RemoteException
groupname
- the group to querysearchExpression
- a wildcard expression to matchlimit
- the maximum number of results to return
RemoteException
List getChildGroupNames(String groupname) throws RemoteException
groupname
- the group to query
RemoteException
String getParentGroupName(String groupname) throws RemoteException
groupname
- the group to query
RemoteException
boolean isDescendent(String ancestor, String descendent) throws RemoteException
ancestor
- see if the other group is a descendent of this groupdescendent
- see if this is a descendent of the other group
RemoteException
boolean isMember(String groupname, String username) throws RemoteException
groupname
- the group to queryusername
- the user to look for
RemoteException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |