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

E17060-01

oracle.odi.setup
Class AuthenticationConfiguration

java.lang.Object
  extended by oracle.odi.setup.AuthenticationConfiguration
Direct Known Subclasses:
AuthenticationConfiguration.OPSSAuthenticationConfiguration, AuthenticationConfiguration.StandaloneAuthenticationConfiguration

public class AuthenticationConfiguration
extends java.lang.Object

AuthenticationConfiguration represent the configuration related to authentication used when creating a master repository.


Nested Class Summary
static class AuthenticationConfiguration.OPSSAuthenticationConfiguration
          Represents an ODI OPSS Authentication Configuration.
static class AuthenticationConfiguration.StandaloneAuthenticationConfiguration
          Represents an ODI Standalone Authentication Configuration.
 
Constructor Summary
AuthenticationConfiguration()
           
 
Method Summary
static AuthenticationConfiguration createOPSSAuthenticationConfiguration(java.lang.String pUsername, char[] pPassword)
          Creates an OPSS enabled AuthenticationConfigaration.
static AuthenticationConfiguration createStandaloneAuthenticationConfiguration(char[] pSupervisorUserPassword)
          Creates a standalone AuthenticationConfiguration.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationConfiguration

public AuthenticationConfiguration()
Method Detail

createOPSSAuthenticationConfiguration

public static AuthenticationConfiguration createOPSSAuthenticationConfiguration(java.lang.String pUsername,
                                                                                char[] pPassword)
                                                                         throws InvalidExternalAuthenticationConfiguration,
                                                                                BadCredentialsException
Creates an OPSS enabled AuthenticationConfigaration.

Parameters:
pUsername - the username which will be granted with SUPERVISOR privileges.
pPassword - password for the user. Note it's of call responsibility to overwrite the content of char array to remove password from memory.
Returns:
the authentication configuration created
Throws:
InvalidExternalAuthenticationConfiguration - if the OPSS configuration is not valid
BadCredentialsException - if the username or password are not valid for the loginservice configured in the OPSS configuration.

createStandaloneAuthenticationConfiguration

public static AuthenticationConfiguration createStandaloneAuthenticationConfiguration(char[] pSupervisorUserPassword)
Creates a standalone AuthenticationConfiguration.

Parameters:
pSupervisorUserPassword - the password that will be set to the default ODI User named "SUPERVISOR" that will be created with supervisor privileges
Returns:
the authentication configuration created

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

E17060-01

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