ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/admin/wsasecenv.htm

39 lines
2.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Use wsadmin in a secure environment</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h4><a name="wsasecenv"></a>Use wsadmin in a secure environment</h4>
<p>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:</p>
<ul>
<li><a href="#soap">Update the soap.client.props file for Simple Object Access Protocol (SOAP)</a></li>
<li><a href="#cmd">Specify authentication information when you run a command</a></li>
</ul>
<p><strong><a name="soap">Update the soap.client.props file for Simple Object Access Protocol (SOAP)</a></strong></p>
<p>If you use a Simple Object Access Protocol (SOAP) connector, set these properties in the soap.client.props file:</p>
<pre>com.ibm.SOAP.loginUserid=<em>user</em>
com.ibm.SOAP.loginPassword=<em>password</em></pre>
<p>where <em>user</em> is you user profile and <em>password</em> is your password.</p>
<p><strong><a name="cmd">Specify authentication information when you invoke wsadmin</a></strong></p>
<p>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:</p>
<pre>wsadmin -conntype SOAP -port <em>SOAPport</em> -user <em>user</em> -password <em>password</em></pre>
<p>where <em>SOAPport</em> is the port number that your application server uses for SOAP, <em>user</em> is you user profile, and <em>password</em> is your password.</p>
<p>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.</p>
</body>
</html>