To encode passwords in properties files Using the PropFilePasswordEncoder script.
PropFilePasswordEncoder fileName { passwordPropertiesList | -SAS } [ -profileName profile ] [ -help | -? ]
Parameters
fileName
This required parameter specifies the name of file in which passwords are encoded.
passwordPropertiesList
This parameter is required if you are encoding passwords in the soap.client.props file. Specify a one or more password properties that you want to encode.
-SAS
This parameter is required if you are encoding passwords in the sas.client.props file.
-profileName
This is an optional parameter. The value profile specifies an application server profile name. The script uses the password encoding algorithm that it retrieves from the specified profile. If you do not specify this parameter, the script uses the default profile.
-help or -?
If you specify this parameter, the script ignores all other parameters and displays usage text.
Example
C:\IBM\WebSphere\AppServer\profiles\AppSrv01\bin\PropFilePasswordEncoder.bat "C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\Dmgr01\properties"\soap.client.props com.ibm.SOAP.loginPassword
Below is the Output
com.ibm.SOAP.loginUserid=Test1
com.ibm.SOAP.loginPassword={xor}DwwcazsybjE=
No comments:
Post a Comment