Skip navigation links

Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14658-01


oracle.security.idm
Interface UserManager


public interface UserManager

This interface represents a user manager that manages execution of various operations, involving users, in the identity repository.

Since:
10.1.3

Method Summary
 User authenticateUser(java.lang.String user_id, char[] passwd)
          Authenticates the user.
 User authenticateUser(java.lang.String user_id, java.lang.String authProperty, char[] passwd)
           
 User authenticateUser(User user, char[] passwd)
           
 User createUser(java.lang.String name, char[] password)
          Create a user with specified name in the identity repository.
 User createUser(java.lang.String name, char[] password, PropertySet pset)
           
 void dropUser(User user)
           
 void dropUser(UserProfile user)
          Drop the user from the identity repository.
 boolean isCreateUserSupported()
           
 boolean isDropUserSupported()
           
 boolean isModifyUserSupported()
           

 

Method Detail

isDropUserSupported

boolean isDropUserSupported()

isCreateUserSupported

boolean isCreateUserSupported()

isModifyUserSupported

boolean isModifyUserSupported()

createUser

User createUser(java.lang.String name,
                char[] password)
                throws IMException
Create a user with specified name in the identity repository.
Returns:
User instance representing the newly created user.
Throws:
ObjectExistsException - Thrown if the user already exists
NoPermissionException - Thrown if the caller doesn't have permission to create a user.
OperationFailureException - Thrown in case of operation failure
IMException - Thrown by the service provider in case of any other problem.

createUser

User createUser(java.lang.String name,
                char[] password,
                PropertySet pset)
                throws IMException
Throws:
IMException

dropUser

void dropUser(UserProfile user)
              throws IMException
Drop the user from the identity repository.
Throws:
ObjectNotFoundException - Thrown if the user does not exist.
NoPermissionException - Thrown if the caller doesn't have permission to drop a user.
OperationFailureException - Thrown in case of operation failure
IMException - Thrown by the service provider in case of any other problem.

dropUser

void dropUser(User user)
              throws IMException
Throws:
IMException

authenticateUser

User authenticateUser(java.lang.String user_id,
                      char[] passwd)
                      throws IMException
Authenticates the user.
Parameters:
user_id - Login ID required for authentication. Login ID is specified by the constant UserProfile.USER_ID.
passwd - Password as a character array
Returns:
User instance representing the authenicated user.
Throws:
OperationNotSupportedException - Thrown by the service provider if it doesn't support the operation
AuthenticationException - Thrown if credentials are invalid.
IMException - Thrown by the service provider in case of any other problem.

authenticateUser

User authenticateUser(User user,
                      char[] passwd)
                      throws IMException
Throws:
IMException

authenticateUser

User authenticateUser(java.lang.String user_id,
                      java.lang.String authProperty,
                      char[] passwd)
                      throws IMException
Throws:
IMException

Skip navigation links

Oracle Fusion Middleware User and Role Java API Reference for Oracle Platform Security Services
11g Release 1 (11.1.1)

E14658-01


Copyright © 2005, 2009, Oracle. All rights reserved.