Export
connect(‘weblogic’,’weblogic’, ‘t3://localhost:8003′)
domainRuntime()
cd(‘/DomainServices/DomainRuntimeService/DomainConfiguration/DomainA/SecurityConfiguration/DomainA/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator’)
cmo.exportData(‘DefaultAtn’,’c:/export.ldif’, Properties())
Import
connect(‘weblogic’,’weblogic’, ‘t3://localhost:8003′)
domainRuntime()
cd(‘/DomainServices/DomainRuntimeService/DomainConfiguration/DomainB/SecurityConfiguration/DomainB/DefaultRealm/myrealm/AuthenticationProviders/DefaultAuthenticator’)
cmo.importData(‘DefaultAtn’,’c:/export.ldif’, Properties())
5 Comments
Faisal, this post really helped.
Thanks a lot!!
From
Anup & RaviKiran Mane
How to import if the Authenticator is a customized one which connects to Database??
I am sorry, but you question is not very clear.
What do you want to achieve?
How can I export JDBC, JMS and Work Managers configurations from one domain to another domain using WLST?
Hi Ram,
You can create a domain template and create a new domain from that template.
Thanks
Post a Comment