|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserManager
Remote Interface for the UserManager session bean. This is the synchronization point between user profile support and WebLogic security. Any user management operations should be done here, rather than through the security APIs directly. This class depends on the following EJB environment in the ejb deployment descriptor:
This control requires that the UserManager EJB has been deployed to the application. The UserManager EJB is contained in p13n_ejb.jar, and is automatically deployed as part of a Portal application.
This control is deprecated as of Portal 8.1.x. Each method will note the replacement control and method to use.
Method Summary | |
---|---|
void |
authenticate(String username,
String password)
Deprecated Use UserInfoControl.authenticate(username, password) |
com.bea.p13n.usermgmt.profile.ProfileWrapper |
createUser(String username,
String password)
Deprecated As of Portal 8.1.x, use UserProviderControl.createUser(username, password) |
com.bea.p13n.usermgmt.profile.ProfileWrapper |
createUserOfProfileType(String username,
String password,
String profileType)
Deprecated As of Portal 8.1.x, use UserProviderControl.createUserOfType(username) |
String[] |
getProfileTypeNames()
Deprecated As of Portal 8.1.x, use ProfileControl.getProfileTypeNames() in conjunction with the UserProviderControl |
List |
getUserNames(String searchExpression,
int limit)
Deprecated As of Portal 8.1.x, use UserProviderControl.getUserNames(searchExpression, limit) |
com.bea.p13n.usermgmt.profile.ProfileWrapper |
getUserProfile(String username)
Deprecated As of Portal 8.1.x, use ProfileControl.getProfileForUser(username) in conjunction with the UserProviderControl |
com.bea.p13n.usermgmt.profile.ProfileManager |
getUserProfileManager(String username)
Deprecated As of Portal 8.1.x, use ProfileControl.getProfileForUser(username) in conjunction with the UserProviderControl |
void |
removeUser(String username)
Deprecated As of Portal 8.1.x, use UserProviderControl.removeUser(username) |
void |
setPassword(String username,
String password)
Deprecated As of Portal 8.1.x, use UserProviderControl.setPassword(username, password) |
boolean |
userExists(String username)
Deprecated As of Portal 8.1.x, use UserProviderControl.userExists(username) |
Method Detail |
---|
void authenticate(String username, String password) throws com.bea.p13n.controls.exceptions.P13nControlException
AuthenticationException
if the user is not a
valid user or credentials are invalid. This method is only used to
verify a username and password, it does not do anything to :log in" or
set the user as the "current" system user.
username
- the username for the userpassword
- the password for the user
com.bea.p13n.controls.exceptions.P13nControlException
- if the user is not a valid user or
credentials are incorrectString[] getProfileTypeNames() throws com.bea.p13n.controls.exceptions.P13nControlException
com.bea.p13n.controls.exceptions.P13nControlException
- if remote errors accessing UserManager EJBList getUserNames(String searchExpression, int limit) throws com.bea.p13n.controls.exceptions.P13nControlException
searchExpression
- a wildcard search expressionlimit
- a limit of results to return
com.bea.p13n.controls.exceptions.P13nControlException
- if errors accessing UserManager EJBcom.bea.p13n.usermgmt.profile.ProfileWrapper getUserProfile(String username) throws com.bea.p13n.controls.exceptions.P13nControlException
username
- the username for the user
com.bea.p13n.controls.exceptions.P13nControlException
- if profile cannot be foundcom.bea.p13n.usermgmt.profile.ProfileManager getUserProfileManager(String username) throws com.bea.p13n.controls.exceptions.P13nControlException
username
- the username for the user
com.bea.p13n.controls.exceptions.P13nControlException
- if user does not existvoid removeUser(String username) throws com.bea.p13n.controls.exceptions.P13nControlException
username
- the username of the user to remove
com.bea.p13n.controls.exceptions.P13nControlException
- if user does not existvoid setPassword(String username, String password) throws com.bea.p13n.controls.exceptions.P13nControlException
username
- the username of the userpassword
- the new password for the user
com.bea.p13n.controls.exceptions.P13nControlException
- if the password is malformed or otherwise invalidboolean userExists(String username) throws com.bea.p13n.controls.exceptions.P13nControlException
username
- the user to look for
com.bea.p13n.controls.exceptions.P13nControlException
- if errors accessing UserManager EJBcom.bea.p13n.usermgmt.profile.ProfileWrapper createUser(String username, String password) throws com.bea.p13n.controls.exceptions.P13nControlException
username
- the username for the new userpassword
- the password for the new user
com.bea.p13n.controls.exceptions.P13nControlException
- if the username is already in usecom.bea.p13n.usermgmt.profile.ProfileWrapper createUserOfProfileType(String username, String password, String profileType) throws com.bea.p13n.controls.exceptions.P13nControlException
username
- the username for the new userpassword
- the password for the new userprofileType
- the name of the profile type for the new user
com.bea.p13n.controls.exceptions.P13nControlException
- if the username is already in use
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |