Skip navigation links

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

E17060-03


oracle.odi.setup
Class SwitchToStandaloneAuthenticationService

java.lang.Object
  extended by oracle.odi.setup.SwitchAuthenticationService
      extended by oracle.odi.setup.SwitchToStandaloneAuthenticationService


public class SwitchToStandaloneAuthenticationService
extends SwitchAuthenticationService

This class should be used to switch a repository from external authentication to standalone authentication.

Warning: This service should not be used while any ODI application is connected to the ODI repository.


Constructor Summary
SwitchToStandaloneAuthenticationService(javax.sql.DataSource pMasterDataSource)
          Create a SwitchToStandaloneAuthenticationService for the master repository to which the pMasterDataSource is connected.

 

Method Summary
 boolean isMasterAlreadyConfiguredWithStandaloneAuthentication()
          Return true if this master repository is already configured with standalone authentication.
 void switchToStandalone(java.lang.String pNewSupervisorUsername, char[] pSupervisorPasword)
          This method will do the actual switch of the repository authentication configuration to standalone.

 

Methods inherited from class oracle.odi.setup.SwitchAuthenticationService
isMasterAlreadyConfiguredWithExternalAuthentication, validateAuthenticationConfiguration

 

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

 

Constructor Detail

SwitchToStandaloneAuthenticationService

public SwitchToStandaloneAuthenticationService(javax.sql.DataSource pMasterDataSource)
Create a SwitchToStandaloneAuthenticationService for the master repository to which the pMasterDataSource is connected.
Parameters:
pMasterDataSource - the data source to the master repository.

Method Detail

isMasterAlreadyConfiguredWithStandaloneAuthentication

public boolean isMasterAlreadyConfiguredWithStandaloneAuthentication()
                                                              throws AuthenticationConfigurationSwitchingException
Return true if this master repository is already configured with standalone authentication.
Returns:
true if the master repository is already configured with standalone authentication.
Throws:
AuthenticationConfigurationSwitchingException - if something goes wrong.

switchToStandalone

public void switchToStandalone(java.lang.String pNewSupervisorUsername,
                               char[] pSupervisorPasword)
                        throws AuthenticationConfigurationSwitchingException
This method will do the actual switch of the repository authentication configuration to standalone.

The existing users will be preserved but they will be set as "account expired" user. A new user with pNewSupervisorUsername as username and pSupervisorPasword as password and will be granted SUPERVISOR privileges. The created SUPERVISOR user will be used to manually go and activate the accounts (including setting up passwords) in order for these users to be able to login.

Parameters:
pNewSupervisorUsername - the supervisor username.
pSupervisorPasword - the supervisor password.
Throws:
AuthenticationConfigurationSwitchingException - if something goes wrong during the switch.

Skip navigation links

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

E17060-03


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