My Oracle Support Banner

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

Last updated on OCTOBER 02, 2023

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('<dir>/<DomainName>', '<dir>//wlst_scripts/', 'true', '<dir>/', '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('<dir>/')
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.



To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.