是否可以使用WLST脚本或通过其他自动方式启用WebLogic摘要身份验证?
我在用 official Oracle WebLogic docker images ,并在映像生成期间使用WLST脚本配置它们。但是,我没有找到使用WLST启用摘要密码的方法。另外,在管理控制台上手动启用它需要重新启动,这实际上会破坏容器,因为WebLogic进程是入口点。
如何在映像生成期间自动启用摘要?
我将向您展示联机模式命令,您可以轻松地将它们转换为脚本。
只需确保在命令中替换用户名/密码和域名。
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()