Custom Authentication Provider Created Without Attributes When Using configToScript Command To Copy Recreate a Domain (Doc ID 2174129.1)

Last updated on DECEMBER 09, 2016

Applies to:

Oracle WebLogic Server - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

By using configToScript command to recreate a domain, the newly created domain has all resources (JDBC, JMS, Default and Custom authentication providers, etc...) correctly created but there aren't properties set for the Custom Authentication Provider matching the original one.

Below steps were performed:

1. Run configToScript([configPath], [pyPath], [overwrite], [propertiesFile], [createDeploymentScript]) as configToScript('/wls/OriginalDomain', '/wls/wlst_scripts/config.py', 'true', '/wls/wlst_scripts/config.properties', 'false')
2. Edit the created properties file to add the correct username, password, and domain directory.
3. Change the ports and managed server names in the config.py file.
4. Start the WLST tool.
5. Run the command execfile('/wls/wlst_scripts/config.py')
6. After completion of the configuration, the newly created domain has JDBC resources, JMS resources and the default authentication providers. But custom authentication provider is getting created but with not the properties configuration as of the old domain.

 

Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms