|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Nested Class Summary |
Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
Method Summary | |
void |
authenticate(String username,
String password)
Deprecated. Use UserInfoControl.authenticate(username, password) |
ProfileWrapper |
createUser(String username,
String password)
Deprecated. As of Portal 8.1.x, use UserProviderControl.createUser(username, password) |
ProfileWrapper |
createUserOfProfileType(String username,
String password,
String profileType)
Deprecated. As of Portal 8.1.x, use UserProviderControl.createUser(username, password). All profile types are assumed to be of type USER. To create the user profile, use ProfileControl.createUserProfile() |
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) |
ProfileWrapper |
getUserProfile(String username)
Deprecated. As of Portal 8.1.x, use ProfileControl.getProfileForUser(username) in conjunction with the UserProviderControl |
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 |
public void authenticate(String username, String password) throws 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
P13nControlException
- if the user is not a valid user or
credentials are incorrectpublic ProfileWrapper createUser(String username, String password) throws P13nControlException
username
- the username for the new userpassword
- the password for the new user
P13nControlException
- if the username is already in usepublic ProfileWrapper createUserOfProfileType(String username, String password, String profileType) throws P13nControlException
username
- the username for the new userpassword
- the password for the new userprofileType
- the name of the profile type for the new user
P13nControlException
- if the username is already in usepublic String[] getProfileTypeNames() throws P13nControlException
P13nControlException
- if remote errors accessing UserManager EJBpublic List getUserNames(String searchExpression, int limit) throws P13nControlException
searchExpression
- a wildcard search expressionlimit
- a limit of results to return
P13nControlException
- if errors accessing UserManager EJBpublic ProfileWrapper getUserProfile(String username) throws P13nControlException
username
- the username for the user
P13nControlException
- if profile cannot be foundpublic ProfileManager getUserProfileManager(String username) throws P13nControlException
username
- the username for the user
P13nControlException
- if user does not existpublic void removeUser(String username) throws P13nControlException
username
- the username of the user to remove
P13nControlException
- if user does not existpublic void setPassword(String username, String password) throws P13nControlException
username
- the username of the userpassword
- the new password for the user
P13nControlException
- if the password is malformed or otherwise invalidpublic boolean userExists(String username) throws P13nControlException
username
- the user to look for
P13nControlException
- if errors accessing UserManager EJB
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |