|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ControlInterface
public interface UserProviderControl
This control:
Control properties:
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
Security requirements: To invoke these methods, the caller must be in a role that has been granted appropriate permission in the WebLogic Administration Portal Authentication Security Provider Service.
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 userOperationNotSupportedException
- 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 returnOperationNotSupportedException
- if authentication provider implementation does not support this operationvoid 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 requestInvalidUsernameException
- if the username is malformed or otherwise invalidInvalidPasswordException
- if the password is malformed or otherwise invalidUserAlreadyExistsException
- if the username is already in useLoginException
- if "login" flag is on, and login failedOperationNotSupportedException
- if authentication provider implementation does not support this operationvoid createUserSimple(String username, String password) throws UserAlreadyExistsException, InvalidUsernameException, InvalidPasswordException, OperationNotSupportedException
username
- The user's login namepassword
- The user's passwordInvalidPasswordException
- if the password is malformed or otherwise invalidInvalidUsernameException
- if the username is malformed or otherwise invalidUserAlreadyExistsException
- if the username is already in useOperationNotSupportedException
- if authentication provider implementation does not support this operationvoid removeUser(String username) throws InvalidUsernameException, OperationNotSupportedException
username
- the username of the user to removeInvalidUsernameException
- if the user is protected and cannot be deletedOperationNotSupportedException
- 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 userInvalidPasswordException
- if the password is malformed or otherwise invalidOperationNotSupportedException
- if authentication provider implementation does not support this operation
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010, Oracle. All rights reserved.