|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.setup.SwitchAuthenticationService
oracle.odi.setup.SwitchToStandaloneAuthenticationService
public class SwitchToStandaloneAuthenticationService
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 |
---|
public SwitchToStandaloneAuthenticationService(javax.sql.DataSource pMasterDataSource)
pMasterDataSource
- the data source to the master repository.Method Detail |
---|
public boolean isMasterAlreadyConfiguredWithStandaloneAuthentication() throws AuthenticationConfigurationSwitchingException
AuthenticationConfigurationSwitchingException
- if something goes wrong.public void switchToStandalone(java.lang.String pNewSupervisorUsername, char[] pSupervisorPasword) throws AuthenticationConfigurationSwitchingException
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.
pNewSupervisorUsername
- the supervisor username.pSupervisorPasword
- the supervisor password.AuthenticationConfigurationSwitchingException
- if something goes wrong during the switch.
|
Oracle® Data Integrator Java API Reference 11g Release 1 (11.1.1.5.0) E17060-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |