|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserProviderControl
This control:
Nested Class Summary | |
---|---|
static interface |
UserProviderControl.UserProviderParams
Define the properties for this control. |
Method Summary | |
---|---|
void |
createUser(String username,
String password,
HttpServletRequest request)
Create a new user and return an object representing the user's information. |
void |
createUserSimple(String username,
String password)
Create a new user and return an object representing the user's information. |
List |
getUserNames(String searchExpression,
int limit)
Get a list of all user names |
void |
removeUser(String username)
Removes a user from the system. |
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 operationList 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 operationvoid createUser(String username, String password, HttpServletRequest request) throws UserAlreadyExistsException, InvalidUsernameException, LoginException, InvalidPasswordException, OperationNotSupportedException
username
- The user's login namepassword
- The user's passwordthe
- request
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
LoginException
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 operationvoid 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 operationvoid setPassword(String username, String password) throws InvalidPasswordException, OperationNotSupportedException
username
- the username of the userpassword
- the new password for the user
InvalidPasswordExceptionif
- the password is malformed or
otherwise invalid
OperationNotSupportedException
- if authentication provider
implementation does not support this operation
InvalidPasswordException
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |