|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface
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:
Any methods that create or remove users delegate to the WebLogic provider selected by RealmHelper.getProviderMBean. If multiple providers are configured, see RealmHelper for information about which of those providers will be used.
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) |
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.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) |
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 |
---|
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 userP13nControlException
- if the user is not a valid user or credentials are incorrectString[] getProfileTypeNames() throws P13nControlException
P13nControlException
- if remote errors accessing UserManager EJBList getUserNames(String searchExpression, int limit) throws P13nControlException
searchExpression
- a wildcard search expressionlimit
- a limit of results to returnP13nControlException
- if errors accessing UserManager EJBProfileWrapper getUserProfile(String username) throws P13nControlException
username
- the username for the userP13nControlException
- if profile cannot be foundProfileManager getUserProfileManager(String username) throws P13nControlException
username
- the username for the userP13nControlException
- if user does not existvoid removeUser(String username) throws P13nControlException
username
- the username of the user to removeP13nControlException
- if user does not existvoid setPassword(String username, String password) throws P13nControlException
username
- the username of the userpassword
- the new password for the userP13nControlException
- if the password is malformed or otherwise invalidboolean userExists(String username) throws P13nControlException
username
- the user to look forP13nControlException
- if errors accessing UserManager EJBProfileWrapper createUser(String username, String password) throws P13nControlException
username
- the username for the new userpassword
- the password for the new userP13nControlException
- if the username is already in useProfileWrapper 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 userP13nControlException
- if the username is already in use
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.