Use wsadmin in a secure environment

If you enable security for a WebSphere Application Server cell, you must supply authentication information when you invoke wsadmin. The wsadmin tool allows you to provide authentication information in any of these ways:

Update the soap.client.props file for Simple Object Access Protocol (SOAP)

If you use a Simple Object Access Protocol (SOAP) connector, set these properties in the soap.client.props file:

com.ibm.SOAP.loginUserid=user
com.ibm.SOAP.loginPassword=password

where user is you user profile and password is your password.

Specify authentication information when you invoke wsadmin

You can specify the -user and -password parameters when you invoke wsadmin. For example, to use the SOAP connector, run this command from the Qshell prompt:

wsadmin -conntype SOAP -port SOAPport -user user -password password

where SOAPport is the port number that your application server uses for SOAP, user is you user profile, and password is your password.

If you specify user and password information on a command line and in the soap.client.props file, the command line information overrides the information in the properties file.