|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void addGroupToGroup(String parentGroup, String childGroup) throws RemoteException
parentGroup
- the name of the group to modifychildGroup
- the name of the group to add
RemoteException
public void addUserToGroup(String groupname, String username) throws RemoteException
groupname
- the name of the group to modifyusername
- the name of the user to add
RemoteException
public ProfileWrapper createGroup(String name) throws RemoteException, GroupAlreadyExistsException, InvalidGroupnameException
GroupAlreadyExistsException
- if the group already exists
InvalidGroupnameException
- if the group name is invalid
RemoteException
public List getAllGroupNames() throws RemoteException
RemoteException
public List getChildGroupNames(String groupname) throws RemoteException
groupname
- the group to query
RemoteException
public List getGroupNamesForUser(String username) throws RemoteException
username
- the user to query
RemoteException
public ProfileWrapper getGroupProfile(String name) throws RemoteException
name
- the name of the group to access
RemoteException
public ProfileManager getGroupProfileManager(String name) throws RemoteException
name
- the name of the group to access
RemoteException
public String getParentGroupName(String groupname) throws RemoteException
groupname
- the group to query
RemoteException
public List getTopLevelGroupNames() throws RemoteException
RemoteException
public List getUsernamesForGroup(String groupname) throws RemoteException
groupname
- the group to query
RemoteException
public 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
public boolean groupExists(String name) throws RemoteException
name
- the group name to check
RemoteException
public boolean isDeletableGroup(String name) throws RemoteException
RemoteException
public 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
public boolean isMember(String groupname, String username) throws RemoteException
groupname
- the group to queryusername
- the user to look for
RemoteException
public void removeGroup(String name) throws RemoteException, InvalidGroupnameException
InvalidGroupnameException
- if the group is protected and cannot be deleted
RemoteException
public void removeGroupFromGroup(String parentGroup, String childGroup) throws RemoteException
parentGroup
- the name of the group to modifychildGroup
- the name of the group to remove
RemoteException
public void removeUserFromGroup(String groupname, String username) throws RemoteException
groupname
- the name of the group to modifyusername
- the name of the user to remove
RemoteException
|
© 2004 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |