+

Search Tips   |   Advanced Search

Displaying SPNEGO TAI properties using the wsadmin utility (deprecated)

Use wsadmin utility to display the properties in the configuration of the SPNEGO trust association interceptor (TAI) for WebSphere Application Server.

Deprecated feature:

In WAS v6.1, a trust association interceptor (TAI) that uses the SPNEGO to securely negotiate and authenticate HTTP requests for secured resources was introduced. In WebSphere Application Server 7.0, this function is now deprecated. SPNEGO web authentication has taken its place to provide dynamic reload of the SPNEGO filters and to enable fallback to the application login method. depfeat

Verify that end-user desktop browsers are configured to support SPNEGO authentication, that the SPNEGO TAI is enabled, that the JVM property is set and, that WebSphere Application Server is configured to enable the operation of the SPNEGO TAI. Use wsadmin utility to configure the SPNEGO TAI for WebSphere Application Server:

  1. Start WebSphere Application Server.

  2. (dist)(zos) Start the command-line utility by running the wsadmin command from the app_server_root/bin directory.

  3. (iseries) Start the command-line utility by running the wsadmin command from the app_server_root/bin directory from the Qshell command line.

  4. At the wsadmin prompt, enter the following command:

      $AdminTask showSpnegoTAIProperties

    Use the following parameters with this command:

    Option Description
    <spnId> This is an optional parameter. It is the service principal name (SPN) identifier for the group of custom properties that are to be displayed with this command. If we do not specify this parameter, all SPNEGO TAI custom properties are displayed.


Results

SPNEGO TAI properties are displayed for this WebSphere Application Server.


Example

Example 1

The following example displays all SPNEGO TAI properties.
wsadmin>$AdminTask showSpnegoTAIProperties
com.ibm.ws.security.spnego.SPN1.filter=request-url!=noSPNEGO;request-url%=snoop
com.ibm.ws.security.spnego.SPN1.hostName=central01.austin.ibm.com
com.ibm.ws.security.spnego.SPN2.hostName=wssecpd.austin.ibm.com
wsadmin>

Example 2

The following example displays SPNEGO TAI properties for SPN1 and host, central01.austin.ibm.com.
wsadmin>$AdminTask showSpnegoTAIProperties -interactive
Show SPNEGO TAI configuration properties.
 Display SPNEGO TAI configuration properties.
 Service Principal Name identifier (spnId): 1
 Show SPNEGO TAI configuration properties.
 F (Finish)
C (Cancel)
 Select [F, C]: [F]
WASX7278I: Generated command line: $AdminTask showSpnegoTAIProperties {-spnId 1}
 com.ibm.ws.security.spnego.SPN1.filter=request-url!=noSPNEGO;request-url%=snoop
com.ibm.ws.security.spnego.SPN1.hostName=central01.austin.ibm.com
com.ibm.ws.security.spnego.SPN1.trimUserName=true
wsadmin>


Related tasks

  • Configure WebSphere Application Server and enabling the SPNEGO TAI (deprecated)

  • SPNEGO TAI custom properties configuration (deprecated)