WebSphere忘记密码的解决办法

1、 a) 将IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells\****\

Cell\security.xml中的enable改为false ,注意不要改错地方了,改动地址如下:

<security:Securityxmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"xmlns:orb.securityprotocol="http://www.ibm.com/websphere/appserver/schemas/5.0/orb.securityprotocol.xmi"xmlns:security="http://www.ibm.com/websphere/appserver/schemas/5.0/security.xmi"xmi:id="Security_1" useLocalSecurityServer="true"useDomainQualifiedUserNames="false" enabled="true" cacheTimeout="600" issuePermissionWarning="false"activeProtocol="BOTH" enforceJava2Security="false"enforceFineGrainedJCASecurity="false" appEnabled="true"dynamicallyUpdateSSLConfig="true" allowBasicAuth="true"activeAuthMechanism="LTPA_1"activeUserRegistry="WIMUserRegistry_1"defaultSSLSettings="SSLConfig_muwei-PCNode01_1"adminPreferredAuthMech="RSAToken_1">

以上标红处,原先为TRUE,需要将其改为FALSE;

或b)命令行——从$WAS_HOME/profiles/xxx 概要文件名/bin目录下,运行 wsadmin -conntype NONE 。当wsadmin的命令行窗口出现之后,运行 securityoff 。上述操作在应用服务器启动或停止的状态都能发出。再次启用WAS时,就是停用管理安全性的状态了。

2、  然后启动WAS,用任意用户 名进行登录。

3、  登录后点击安全性-全局安全性,勾上启用管理安全性,注意不要选择JAVA2安全性,再点击应用,跳转后点击保存。

4、  再打开全局安全性,看界面中,有一个可用的域定义,下面是联合存储库。

5、  点击配置,待跳转后,直接点击应用,然后出现出现让你保存的设置以及重新输入密码的框框,输入新的密码,点击保存。OK。

6、  再停掉服务器再重新启动。

猜你喜欢

转载自mrushui.iteye.com/blog/2034040