Use wsadmin.sh in a secure environment
If you enable security for a WAS cell, supply authentication information to communicate with servers.
The nature of the properties file updates required for running in secure mode depend on whether you connect with an RMI connector, or a Simple Object Access Protocol (SOAP) connector...
- If you use an RMI connector, set the following properties in the sas.client.props file with the appropriate values
Also, set the following propertycom.ibm.CORBA.loginUserid= com.ibm.CORBA.loginPassword=The default value for this property is prompt in the sas.client.props file. If you leave the default value, a dialog box appears with a password prompt. If the script is running unattended, it appears to hang.com.ibm.CORBA.loginSource=properties- If you use a Simple Object Access Protocol (SOAP) connector, set the following properties in the soap.client.props file with the appropriate values
com.ibm.SOAP.securityEnabled=true com.ibm.SOAP.loginUserid= com.ibm.SOAP.loginPassword=
To specify user and password information, choose one of the following methods...
- Specify user name and password on a command line, using the -user and -password commands. For example
wsadmin.sh -conntype RMI -port 2809 -user u1 -password secret1- Specify user name and password in the sas.client.props file for a RMI connector or the soap.client.props file for a SOAP connector.
If you specify user and password information on a command line and in the sas.client.props file or the soap.client.props file, the command line information overrides the information in the props file.