Control
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.
Control, Control, Serializable
Method Summary |
public void |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public |
|
public void |
|
public void |
|
public boolean |
|
Method Detail |
DEPRECATED Use UserInfoControl.authenticate(username, password)
public void authenticate(Authenticate a user. Throws anStringusername,Stringpassword)
throwsP13nControlException
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.
P13nControlException
DEPRECATED As of Portal 8.1.x, use UserProviderControl.createUser(username, password)
publicCreates a user with the given username and password. This user will use the default UserProfileManager for profile entries.ProfileWrappercreateUser(Stringusername,Stringpassword)
throwsP13nControlException
P13nControlException
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()
publicCreates a user with a specific profile type.ProfileWrappercreateUserOfProfileType(Stringusername,Stringpassword,StringprofileType)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use ProfileControl.getProfileTypeNames() in conjunction with the UserProviderControl
publicReturn a list of profile type names that are registered with the UserManager.String[] getProfileTypeNames()
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use UserProviderControl.getUserNames(searchExpression, limit)
publicReturns a List of users' names matching the search expressionListgetUserNames(StringsearchExpression, int limit)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use ProfileControl.getProfileForUser(username) in conjunction with the UserProviderControl
publicGet the Profile for the given user. Security constraints should restrict use of this method to administrators only.ProfileWrappergetUserProfile(Stringusername)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use ProfileControl.getProfileForUser(username) in conjunction with the UserProviderControl
publicReturns the appropriate ProfileManager deployment for this user, based on the user's profile type. If the user exists in the realm, but does not have a profile yet, a profile will be created at this time. Security constraints should restrict use of this method to administrators only.ProfileManagergetUserProfileManager(Stringusername)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use UserProviderControl.removeUser(username)
public void removeUser(Removes a user from the system. This will remove both the realm and profile records for this user.Stringusername)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use UserProviderControl.setPassword(username, password)
public void setPassword(Sets the password for a user in the realm. Security constraints should restrict use of this method to administrators only. A user should use changePassword to change their own password.Stringusername,Stringpassword)
throwsP13nControlException
P13nControlException
DEPRECATED As of Portal 8.1.x, use UserProviderControl.userExists(username)
public boolean userExists(Determines if a user exists. This method simply checks the provider for a user with the given name.Stringusername)
throwsP13nControlException
P13nControlException