How to decode Websphere applicaiton server xor encoded passwords
Purpose – To decode the Websphere application server xor encoded passwords
Description – There are situation were in we would like to decode the xor encoded passwords in the Websphere environment for datasources, security credentials. The below command would help you
in determining the decoded passwords in websphere application server environment.
Solution –
1. For Websphere application server V6.1 and later
java -cp <WAS_HOME>/deploytool/itp/plugins/com.ibm.websphere.v61_6.1.200/ws_runtime.jar com.ibm.ws.security.util.PasswordDecoder “<password starting with {xor}>”
2. For Websphere application server V7 and later
java -cp <WAS_HOME>/deploytool/itp/plugins/com.ibm.websphere.v7_7.0.3.v20110824_2356/wasRuntimeUtilV7.jar:<WAS_HOME>/deploytool/itp/plugins/com.ibm.websphere.v7_7.0.3.v20110824_2356/wasJars/* com.ibm.ws.security.util.PasswordDecoder “<password starting with {xor}>”
3. For Websphere application server V8.5 and later
java -cp <WAS_HOME>/plugins/com.ibm.ws.runtime.jar:<WAS_HOME>/lib/bootstrap.jar:<WAS_HOME>/plugins/com.ibm.ws.emf.jar:<WAS_HOME>/plugins/org.eclipse.emf.ecore.jar:<WAS_HOME>/plugins/org.eclipse.emf.common.jar com.ibm.ws.security.util.PasswordDecoder “<password starting with {xor}>”
Hope you enjoyed reading this article. Thank you.
Leave a Reply
You must be logged in to post a comment.