|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This control:
ProfileWrapper
Nested Class Summary |
Nested classes inherited from class com.bea.control.Control |
com.bea.control.Control.Callback |
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 |
public void createUser(String username, String password, HttpServletRequest request) throws UserAlreadyExistsException, InvalidUsernameException, LoginException, InvalidPasswordException, OperationNotSupportedException
username
- The user's login namepassword
- The user's passwordrequest
- The HttpServletRequest
InvalidPasswordException
- if the password is malformed or
otherwise invalid
InvalidUsernameException
- if the username is malformed or
otherwise invalid
LoginException
- if the user cannot be logged in (assuming that option was chosen)
UserAlreadyExistsException
- if the username is already in use
OperationNotSupportedException
- if authentication provider
implementation does not support this operationpublic 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 operationpublic 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 operationpublic 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 operationpublic void 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
public boolean userExists(String username) throws OperationNotSupportedException
username
- The user (login) name of the user
OperationNotSupportedException
- if authentication provider
implementation does not support this operation
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |