|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Handles all visitor-user admin functionality.
Method Summary | |
void |
addUserToGroup(ProfileIdentity user,
GroupPortal groupPortal)
Admin adds an end user to a user group |
boolean |
canAdminManageUser(ProfileIdentity user,
ProfileIdentity admin,
PortalIdentifier portalId,
java.util.List groupPortals)
Checks if an admin can manage a particular visitor user - returns true if admin is a System Admin or - if admin is a PA or GA - they have exclusive rights to manage that user |
ProfileWrapper |
createUser(ProfileIdentity user,
java.lang.String password,
GroupPortal groupPortal)
Create a visitor user and add to the given group portal's user group |
ProfileWrapper |
createUser(ProfileIdentity user,
java.lang.String password,
java.lang.String profileType,
GroupPortal groupPortal)
Create a visitor user and add to the given group portal's user group |
java.util.List |
getAllVisitorUserGroups()
Retrieve all visitor user groups Filters out existing group portal users. |
java.util.List |
getGroupPortalEligibleVisitorUsers(GroupPortal groupPortal,
java.lang.String searchExpression,
int limit)
Retrieve all visitor users with the intention of adding them to a group portal. |
ProfileWrapper |
getGroupProfile(GroupPortal groupPortal)
Retrieve Profile for a user |
java.util.List |
getUsernamesForVisitorUserGroup(GroupPortal groupPortal,
java.lang.String searchExpression,
int limit)
Retrieve the users for a given user group |
java.util.List |
getUsernamesForVisitorUserGroupSubGroups(GroupPortal groupPortal,
java.lang.String groupName,
java.lang.String searchExpression,
int limit)
Retrieve the users for a given user group sub groups |
ProfileWrapper |
getUserProfile(ProfileIdentity user,
GroupPortal groupPortal,
PortalIdentifier portalId,
java.util.List groupPortals)
Retrieve Profile for a user |
java.util.List |
getVisitorUserGroupNamesForUser(ProfileIdentity user)
Retrieve the group names for a given user |
boolean |
isWritableRealm()
Checks if the underlying user realm is writable or not |
void |
removeUser(ProfileIdentity user,
GroupPortal groupPortal,
PortalIdentifier portalId,
java.util.List groupPortals)
Removes an end user |
void |
removeUserFromGroup(ProfileIdentity user,
GroupPortal groupPortal)
Admin removes an end user from a user group |
void |
setPassword(ProfileIdentity user,
java.lang.String password,
GroupPortal groupPortal,
PortalIdentifier portalId,
java.util.List groupPortals)
Set an end user password |
Methods inherited from interface javax.ejb.EJBObject |
getEJBHome,
getHandle,
getPrimaryKey,
isIdentical,
remove |
Method Detail |
public boolean isWritableRealm() throws java.rmi.RemoteException
public void addUserToGroup(ProfileIdentity user, GroupPortal groupPortal) throws RealmNotWritableAddException, java.rmi.RemoteException
user
- the User to addgroupPortal
- the GroupPortal to receive the userpublic void removeUserFromGroup(ProfileIdentity user, GroupPortal groupPortal) throws RealmNotWritableRemoveException, java.rmi.RemoteException
user
- the User to removegroup
- the Group to remove the User frompublic ProfileWrapper createUser(ProfileIdentity user, java.lang.String password, java.lang.String profileType, GroupPortal groupPortal) throws UserAlreadyExistsException, InvalidUsernameException, InvalidPasswordException, RealmNotWritableAddException, java.rmi.RemoteException
user
- the user to createpassword
- the user's passwordprofileType
- the user's profile typegroupPortal
- the group portal - used to verify the admin has User Mgmt accesspublic ProfileWrapper createUser(ProfileIdentity user, java.lang.String password, GroupPortal groupPortal) throws UserAlreadyExistsException, InvalidUsernameException, InvalidPasswordException, RealmNotWritableAddException, java.rmi.RemoteException
user
- the user to createpassword
- the user's passwordgroupPortal
- the group portal - used to verify the admin has User Mgmt accesspublic void setPassword(ProfileIdentity user, java.lang.String password, GroupPortal groupPortal, PortalIdentifier portalId, java.util.List groupPortals) throws PrincipalNotExclusivelyManagedByAdminException, InvalidPasswordException, RealmNotWritableAddException, java.rmi.RemoteException
user
- the Userpassword
- the passwordgroupPortal
- the group portal - used to verify the admin has User Mgmt accessportalId
- the PortalIdentifier of the Portal to remove any PA associationsgroupPortals
- all Group Portals for the Portal to remove any GA associationspublic void removeUser(ProfileIdentity user, GroupPortal groupPortal, PortalIdentifier portalId, java.util.List groupPortals) throws PrincipalNotExclusivelyManagedByAdminException, RealmNotWritableRemoveException, java.rmi.RemoteException
user
- the User to removegroupPortal
- the group portal - used to verify the admin has User Mgmt accessportalId
- the PortalIdentifier of the Portal to remove any PA associationsgroupPortals
- all Group Portals for the Portal to remove any GA associationspublic ProfileWrapper getUserProfile(ProfileIdentity user, GroupPortal groupPortal, PortalIdentifier portalId, java.util.List groupPortals) throws ProfileNotFoundException, PrincipalNotExclusivelyManagedByAdminException, java.rmi.RemoteException
user
- the UsergroupPortal
- the group portal - used to verify the admin has User Mgmt accessportalId
- the PortalIdentifier of the Portal to ensure that the user is exclusively managedgroupPortals
- all Group Portals for the Portal to remove
Note: All subsequent setProperty calls must occur on ProfileWrapperpublic ProfileWrapper getGroupProfile(GroupPortal groupPortal) throws ProfileNotFoundException, PrincipalNotExclusivelyManagedByAdminException, java.rmi.RemoteException
groupPortal
- the group portal - used to verify the admin has User Mgmt access
Note: All subsequent setProperty calls must occur on ProfileWrapperpublic java.util.List getUsernamesForVisitorUserGroup(GroupPortal groupPortal, java.lang.String searchExpression, int limit) throws java.rmi.RemoteException
groupName
- the user Group Identifier (String)searchExpression
- "*" wildcard is supportedlimit
- limit of number of users to returnpublic java.util.List getUsernamesForVisitorUserGroupSubGroups(GroupPortal groupPortal, java.lang.String groupName, java.lang.String searchExpression, int limit) throws java.rmi.RemoteException
groupPortal
- the group portal that the user group belongs togroupName
- the user Group Identifier (String)searchExpression
- "*" wildcard is supportedlimit
- limit of number of users to returnpublic java.util.List getVisitorUserGroupNamesForUser(ProfileIdentity user) throws java.rmi.RemoteException
user
- the userpublic java.util.List getGroupPortalEligibleVisitorUsers(GroupPortal groupPortal, java.lang.String searchExpression, int limit) throws java.rmi.RemoteException
groupPortal
- the group portal to filter users forsearchExpression
- "*" wildcard is supportedlimit
- limit of number of users to returnpublic java.util.List getAllVisitorUserGroups() throws java.rmi.RemoteException
public boolean canAdminManageUser(ProfileIdentity user, ProfileIdentity admin, PortalIdentifier portalId, java.util.List groupPortals) throws java.rmi.RemoteException
user
- the visitor useradmin
- the admin userportalId
- the portalgroupPortals
- ALL of the portal's contained group portals (must use ARM.getAllGroupPortals())
|
© 2002 BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |