Deleting SPNEGO TAI properties using the wsadmin utility (deprecated)

You use the wsadmin utility to delete properties in the configuration of the Simple and Protected GSS-API Negotiation Mechanism (SPNEGO) trust association interceptor (TAI) for WebSphere® Application Server.

About this task

Deprecated feature: In WebSphere Application Server Version 6.1, a trust association interceptor (TAI) that uses the Simple and Protected GSS-API Negotiation Mechanism (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.
You use the wsadmin utility to configure the SPNEGO TAI for WebSphere Application Server:

Procedure

  1. Start WebSphere Application Server.
  2. [AIX Solaris HP-UX Linux Windows]Start the command-line utility by running the wsadmin command from the app_server_root/bin directory.
  3. [IBM i]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 deleteSpnegoTAIProperties
    You can use the following parameters with this command:
    Option Description
    <spnId> This is an optional parameter. It is the SPN identifier for the group of custom properties that are to be deleted with this command. If you do not specify this parameter, all SPNEGO TAI custom properties are deleted.

Results

SPNEGO TAI properties are deleted for this WebSphere Application Server.

Example

Example 1
The following example deletes all the SPNEGO TAI properties for SPN2
wsadmin>$AdminTask deleteSpnegoTAIProperties {-spnId 2}
Example 2
The following example deletes all SPNEGO TAI properties
wsadmin>$AdminTask deleteSpnegoTAIProperties
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>