我怎样才能恢复我的本地websphere服务器的密码?

我为wasadmin forfor密码。因此无法进入pipe理窗格。我想要恢复密码。在哪里编码passwod位于?我怎么解码?我在其他地方使用相同的密码,所以我想恢复密码而不是重新设置密码。

在Websphere中恢复密码

Step 1: Open up your console and navigate to the folder that contains "ws_runtime.jar". Use a search tool to find it. Step 2: java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordEncoder "password" Example: Input java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordEncoder "password" Output decoded password == "password", encoded password == "{xor}Lz4sLCgwLTs=" 

在Websphere中解密您的密码

 Step 1: Location and open "security.xml". It will be folder with a similar path like so "runtime\..?..\PROFILE_ACCOUNT\...?..\workspace\..?..\". Use a search tool to find it. Step 2: In "security.xml", find the "authDataEntries" tag and then get the password attribute. Step 3: Open up your console and navigate to the folder that contains "ws_runtime.jar". Use a search tool to find it. Step 4: java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordDecoder PASSWORD_ATTIBUTE Example: Input java -cp ws_runtime.jar com.ibm.ws.security.util.PasswordDecoder {xor}Lz4sLCgwLTs= Output encoded password == "{xor}Lz4sLCgwLTs=", decoded password == "password" 

这可能有帮助…