Decode/Encode websphere database password

  1. Locate the file at /usr/IBM/WebSphere/AppServer/profiles/AppSrvMars01/config/cells/mars01Cell01/security.xml

  2. Find the “authDataEntries” tag and then get the password attribute.

  3. Open console and goto directory /usr/IBM/WebSphere/AppServer,
    encode: java -cp plugins/com.ibm.ws.runtime.jar:lib/bootstrap.jar:runtimes/com.ibm.jaxws.thinclient_7.0.0.jar com.ibm.ws.security.util.PasswordEncoder password
    decode: java -cp plugins/com.ibm.ws.runtime.jar:lib/bootstrap.jar:runtimes/com.ibm.jaxws.thinclient_7.0.0.jar com.ibm.ws.security.util.PasswordDecoder {xor}Lz4sLCgwLTs=

Reference:
http://www.sysman.nl/wasdecoder/
http://stackoverflow.com/questions/7885134/how-to-recover-admin-password-in-websphere-portal-v7
http://weblogic-wonders.com/weblogic/tag/com-ibm-ws-bootstrap-raswsloggerfactory/

你可能感兴趣的:(Decode/Encode websphere database password)