在 Websphere 的安全设置中,我更改了标志
"Trim Kerberos realm from principal name"
,现在我尝试登录到 websphere 控制台,它一直显示错误 Invalid user id or password
。
检查SystemOut.log文件,它显示以下错误
An unexpected exception occurred when trying to run getUserDN() method : GSSException: com.ibm.ws.security.auth.kerberos.NoCredentialFoundException: Did not find user in userRegistry for userName: [email protected]
我可以尝试哪些不同的选项来成功登录控制台?
我不确定您的安全设置是什么,以及为什么启用该设置后登录失败。但如果您想进入管理控制台来修复您的安全设置,您可以暂时禁用安全功能,如下所示。
要禁用安全性,请通过 wsadmin 执行以下步骤:
<WAS_INSTALL_DIR>/bin/> wsadmin -conntype NONE.
wsadmin> securityoff.
wsadmin> exit.
Restart the servers.
Enable the security from administrative console.
我不知道这个问题的答案。但我确实需要通过 Jython 脚本执行应用程序登录,而且我不知道如何执行此操作,尽管有关此主题的文档很好。 https://www.ibm.com/docs/en/was/8.5.5?topic=scripting-configuring-jaas-login-modules-using-wsadmin