CreateUserControl Interface
DEPRECATED This control has been deprecated as of Portal 8.1.x
- public interface CreateUserControl
extends weblogic.jws.control.Control
This control:
- is used by the portal GUI components to create a user
- gives some indication as to whether the creation is successful by
returning an instance of a ProfileWrapper if successful and throwing an
exception if not
- is able to determine whether this user already exists
Control properties:
- doPostProcess If true, then executes the post-user-creation
process after successfull user creation, which consists of authenticating
the user, updating the profile in the session, firing a SessionLoginEvent,
and firing a UserRegistrationEvent. Defaults to true
- saveAnonymous If true, then any properties the user
may have set during this Session before registering are added to the new
user's properties during the post-user-creation process. Defaults to true.
- fireEvent If true, then fire a UserRegistrationEvent during
the post-user-creation process. Defaults to true.
- login If true, then performs a login of the user during the
post-user-creation process. Defaults to true.
-
All Superinterfaces
-
weblogic.jws.control.Control
, com.bea.control.Control
, Serializable
createUser(String, String, HttpServletRequest) Method
DEPRECATED Use UserProviderControl.createUser(username, password, request)
public ProfileWrapper
createUser(String
username,
String
password,
HttpServletRequest
request)
throws P13nControlException
Create a new user and return an object representing the user's information.
Parameters
-
username
- The user's login name
-
password
- The user's password
-
request
- The HttpRequest object, can be null
Returns
- a ProfileWrapper representing the user's stored information
Exceptions
-
P13nControlException
- if username or password is invalid, user
already exists, or a remote exception occurs accessing the UserManager EJB.