Reputation: 23502
Is it possible to enable the WebLogic digest authentication with WLST script or by other automated means?
I'm using official Oracle WebLogic docker images, and configure them with WLST scripts during the image build. However, I don't find a way to enable digest passwords using the WLST. Also, enabling it by hand on the admin console requires the restart, which essentially destroys the container, as the WebLogic process is the entrypoint.
How could I automatically enable the digest during the image build?
Upvotes: 0
Views: 254
Reputation: 39417
I'm going to show you the Online mode commands, you can easily convert them to scripts.
Just make sure you replace username/password and your domain name in the commands.
connect('weblogicUser','weblogicPassword','t3://localhost:7001')
edit()
cd ('SecurityConfiguration/replace_your_domain_name_here/Realms/myrealm/AuthenticationProviders/DefaultAuthenticator')
startEdit()
set('PasswordDigestEnabled','true')
save()
stopEdit()
exit()
Upvotes: 1