InfoCenter Home >
6: Administer applications >
6.6: Tools and resources quick reference >
6.6.0: About user assistance >
6.6.0.2: Command line administration >
6.6.0.2.2: WebSphere Control Program (wscp) >
6.6.0.2.2.2: Command syntax and usage >
6.6.0.2.2.2.3: Authenticating to the administrative server

6.6.0.2.2.2.3: Authenticating to the administrative server

If security is enabled for your administrative server, you must prepare the wscp client so that it can authenticate to the server. To do this, perform the following steps:

  • Make a copy of the properties file sas.client. props. This file is located in the subdirectory named properties, in the directory where you installed the product--for example, C:\WebSphere\AppServer\properties. Rename the file--for example, you can name the file sas.wscp.props--and edit or add the following property-value pairs:
    com.ibm.CORBA.loginSource=properties
    com.ibm.CORBA.loginUserid=your_user_id
    com.ibm.CORBA.principalName=NT_domain/user_id
    com.ibm.CORBA.loginPassword=your_password

    The value properties is the only option for the com.ibm.CORBA.loginSource property. The value prompt (prompting for a user ID) is not supported forwscp.

  • If you are using digital certificates, you must also enable access to the server key stores. A dummy key store file is provided as a WebSphere Application Server installation option. The dummy key store is not intended for use in a production environment. See 5.5: Certificate-based authentication, for more information on using certificates in WebSphere Application Server.

  • Add the following line to your .wscprc file:
    com.ibm.CORBA.ConfigURL=URL_of_properties_file

    An example URL on Windows platforms:

    file:///C:/WebSphere/AppServer/properties/sas.wscp.props

    An example URL on UNIX platforms:

    file:///usr/WebSphere/AppServer/properties/sas.wscp.properties

    Alternatively, you can add the following option to the Java command line (preceding the application class name):

    -Dcom.ibm.CORBA.ConfigURL=URL_of_properties_file
Go to previous article: 6.6.0.2.2.2.2: Invoking and terminating wscp Go to next article: 6.6.0.2.2.2.4: Connecting to local and remote nodes

 

 
Go to previous article: 6.6.0.2.2.2.2: Invoking and terminating wscp Go to next article: 6.6.0.2.2.2.4: Connecting to local and remote nodes