How can the administrator suppress a user/password prompt from appearing when this script is run?

A system administrator has created a Jython script that will run in WebSphere Network cell where administrative security is enabled.

This script is named doUpdate.py and will be run by using the following:

wsadmin CconnType RMI Cf doUpdate.py

How can the administrator suppress a user/password prompt from appearing when this script is run?

Set the user and password in the:

A. sas.client.props file.

B. ssl.client.props file.

C. soap.client.props file.

D. wsadmin.properties file.

Answer: A

Explanation:

The user Id and password needed for wsadmin to connect to a secured server can be supplied as command line options and in properties files. If used together, command line options take precedence over what is in the properties files. The properties files are located at Profile_root/properties.

If you use a Remote Method Invocation (RMI) connector or a JSR160RMI connector, set the following properties in the sas.client.props file with the appropriate values:

com.ibm.CORBA.loginUserid=

com.ibm.CORBA.loginPassword=

References: https://www.ibm.com/support/knowledgecenter/SSAW57_8.5.5/com.ibm.websphere.nd.doc/ae/txml_security.html

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments