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 and later
Information in this document applies to any platform.


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/', 'true', '/wls/wlst_scripts/', '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 file.
4. Start the WLST tool.
5. Run the command execfile('/wls/wlst_scripts/')
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.





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