| 
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@ControlInterface public interface UserProviderControl
This control:
true
  true
  UserRegistrationEvent when the user is created.
       Default: true
  UserRegistrationEvent. If any of the "saveAnonymous",
       "login", or "fireEvent" control property is set to true. This property will implicitly set to
       true
       Default: true
  
| Nested Class Summary | |
|---|---|
static interface | 
UserProviderControl.UserProviderParams
Define the properties for this control.  | 
| Method Summary | |
|---|---|
 void | 
createUser(String username,
           String password,
           javax.servlet.http.HttpServletRequest request)
Creates a user with the given username and password.  | 
 void | 
createUserSimple(String username,
                 String password)
Creates a user with the given username and password.  | 
 List | 
getUserNames(String searchExpression,
             int limit)
Get a list of all user names  | 
 void | 
removeUser(String username)
Removes a user from the specified authentication provider.  | 
 void | 
setPassword(String username,
            String password)
Sets the password for a user in the realm.  | 
 boolean | 
userExists(String username)
Determine whether a user exists  | 
| Method Detail | 
|---|
boolean userExists(String username)
                   throws OperationNotSupportedException
username - The user (login) name of the user
OperationNotSupportedException - if authentication provider
 implementation does not support this operation
List getUserNames(String searchExpression,
                  int limit)
                  throws OperationNotSupportedException
searchExpression - a wildcard search expressionlimit - a limit of results to return
OperationNotSupportedException - if authentication provider
 implementation does not support this operation
void createUser(String username,
                String password,
                javax.servlet.http.HttpServletRequest request)
                throws UserAlreadyExistsException,
                       InvalidUsernameException,
                       LoginException,
                       InvalidPasswordException,
                       OperationNotSupportedException
username - The user's login namepassword - The user's passwordrequest - the http request
InvalidUsernameException - if the username is malformed or otherwise invalid
InvalidPasswordException - if the password is malformed or otherwise invalid
UserAlreadyExistsException - if the username is already in use
LoginException - if "login" flag is on, and login failed
OperationNotSupportedException - if authentication provider
 implementation does not support this operation
void createUserSimple(String username,
                      String password)
                      throws UserAlreadyExistsException,
                             InvalidUsernameException,
                             InvalidPasswordException,
                             OperationNotSupportedException
username - The user's login namepassword - The user's password
InvalidPasswordException - if the password is malformed or otherwise invalid
InvalidUsernameException - if the username is malformed or otherwise invalid
UserAlreadyExistsException - if the username is already in use
OperationNotSupportedException - if authentication provider
 implementation does not support this operation
void removeUser(String username)
                throws InvalidUsernameException,
                       OperationNotSupportedException
username - the username of the user to remove
InvalidUsernameException - if the user is protected and cannot be deleted
OperationNotSupportedException - if authentication provider
 implementation does not support this operation
void setPassword(String username,
                 String password)
                 throws InvalidPasswordException,
                        OperationNotSupportedException
username - the username of the userpassword - the new password for the user
InvalidPasswordException - if the password is malformed or
 otherwise invalid
OperationNotSupportedException - if authentication provider
 implementation does not support this operation
  | 
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||