Skip navigation links

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

E17060-02


oracle.odi.setup
Class SwitchAuthenticationService

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

Direct Known Subclasses:
SwitchToExternalAuthenticationService, SwitchToStandaloneAuthenticationService

public abstract class SwitchAuthenticationService
extends java.lang.Object

This class is used to switch between external authentication and standalone authentication.

See Also:
SwitchToExternalAuthenticationService, SwitchToStandaloneAuthenticationService

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

 

Method Summary
 boolean isMasterAlreadyConfiguredWithExternalAuthentication()
          Return true if this master repository is already configured with External authentication.
 void validateAuthenticationConfiguration()
          Validates that:

 

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

 

Constructor Detail

SwitchAuthenticationService

public SwitchAuthenticationService(javax.sql.DataSource pMasterDataSource)
Create a SwitchAuthenticationService for the master repository to which the pMasterDataSource is connected.
Parameters:
pMasterDataSource - the datasource of master repository.

Method Detail

isMasterAlreadyConfiguredWithExternalAuthentication

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

validateAuthenticationConfiguration

public void validateAuthenticationConfiguration()
                                         throws AuthenticationConfigurationSwitchingException
Validates that:

The master repository is currently configured with standalone Authentication.

The external authentication is configured correctly for this application. (OPSS jars are available and we can access to the required OPSS services)

Throws:
AuthenticationConfigurationSwitchingException - if anything is not valid.

Skip navigation links

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

E17060-02


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