Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.9.0)

E17060-05


oracle.odi.domain.security
Class OdiUserCreationServiceImpl

java.lang.Object
  extended by oracle.odi.domain.security.OdiUserCreationServiceImpl

All Implemented Interfaces:
IOdiUserCreationService

public class OdiUserCreationServiceImpl
extends java.lang.Object
implements IOdiUserCreationService

Reference implementation of IOdiUserCreationService

Since:
11.1.1.7.0
Version:
$Header: odi/src/javadev/odi.core/src/oracle/odi/domain/security/OdiUserCreationServiceImpl.java /odi_111160/2 2013/04/18 16:08:06 sochen Exp $
See Also:
IOdiUserCreationService

Constructor Summary
OdiUserCreationServiceImpl(OdiInstance odiInstance)
           

 

Method Summary
 OdiUser createOdiUser(java.lang.String userName, boolean isSupervisor, java.util.Date accountExpirationDate)
          Create and persist to database new SDK user when ODI repository is in external authentication mode where all the ODI users are from LDAP server and ODI just register them.
 OdiUser createOdiUser(java.lang.String userName, char[] password, boolean isSupervisor, java.util.Date accountExpirationDate)
          Create and persist to database new SDK user.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

OdiUserCreationServiceImpl

public OdiUserCreationServiceImpl(OdiInstance odiInstance)

Method Detail

createOdiUser

public OdiUser createOdiUser(java.lang.String userName,
                             char[] password,
                             boolean isSupervisor,
                             java.util.Date accountExpirationDate)
Description copied from interface: IOdiUserCreationService
Create and persist to database new SDK user.
Specified by:
createOdiUser in interface IOdiUserCreationService
Parameters:
userName - couldn't be null or empty string
password - couldn't be null or empty string. Also should meet ODI Security Policy
isSupervisor - defines if new user is supervisor
Returns:
new ODI User

createOdiUser

public OdiUser createOdiUser(java.lang.String userName,
                             boolean isSupervisor,
                             java.util.Date accountExpirationDate)
Create and persist to database new SDK user when ODI repository is in external authentication mode where all the ODI users are from LDAP server and ODI just register them. Please note: no password is needed as argument since ODI will not manage these users and the authentication is delegated to LDAP server. .
Specified by:
createOdiUser in interface IOdiUserCreationService
Parameters:
userName - couldn't be null or empty string. This user must first exist in the LDAP server which ODI is configured to point to through jps configuratin file.
isSupervisor - defines if new user is supervisor
expiracyDate - user expiration date. Could be null which means no expiration date set on this user account.
Returns:
new ODI User
Throws:
PermissionDeniedException - if no current authentication found or if current authentication hasn't SUPERVISOR privilege.

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.9.0)

E17060-05


Copyright © 2010, 2015, Oracle and/or its affiliates. All rights reserved.