You can configure security with scripting and the wsadmin tool.
Before starting this task, the wsadmin tool must be running. Read about Starting the wsadmin scripting client for more information.
com.ibm.CORBA.loginUserid=
com.ibm.CORBA.loginPassword=
Also, set the following property:com.ibm.CORBA.loginSource=properties
The
default value for this property is prompt in the sas.client.props file.
If you leave the default value, then a dialog box is displayed with
a password prompt. If the script is running unattended, then the system
stops.com.ibm.SOAP.securityEnabled=true
com.ibm.SOAP.loginUserid=
com.ibm.SOAP.loginPassword=
com.ibm.SOAP.loginSource=none
The
default value for this property is prompt in the soap.client.props file.
If you leave the default value, a dialog box is displayed with a password
prompt. If the script is running unattended, then the system stops.com.ibm.IPC.loginUserid=
com.ibm.IPC.loginPassword=
com.ibm.IPC.loginSource=prompt
The
default value for this property is prompt in the soap.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.wsadmin -conntype JSR160RMI -port 2809 -user u1 -password secret1
wsadmin.sh -conntype JSR160RMI -port 2809 -user u1 -password secret1
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.
The use of -password option may
result in security exposure as the password information becomes visible
to the system status program such as ps command which can be invoked
by other user to display all the running processes. Do not use this
option if security exposure is a concern. Instead, specify user and
password information in the soap.client.props file for the SOAP connector,
the sas.client.props file for the JSR160RMI connector or the Remote
Method Invocation (RMI) connector, or the ipc.client.props file for
the IPC connector. The soap.client.props, sas.client.props, and ipc.client.props
files are located in the properties directory of your profile.