This topic applies to WebSphere Application Server Liberty V8.5.5.9 and earlier. For the latest Liberty topics, see the WebSphere Application Server Liberty documentation.

Developing a custom TAI as a Liberty feature

You can develop a custom TAI as a Liberty feature by implementing the com.ibm.wsspi.security.tai.TrustAssociationInterceptor interface provided in the Liberty server and creating a product extension.

About this task

For a general view of custom TAI, see Developing a custom TAI for Liberty.

For more information about product extensions, see Product extension.

Avoid trouble: If you have multiple TAIs, you can configure all of them by using either the user feature or the shared library. Do not mix the two TAI configurations.

Procedure

  1. Implement the custom TAI. For more information, see Developing a custom TAI for Liberty.
  2. Convert the implementation class into an OSGi service. You can do the conversion in one of the following ways:
  3. Package the custom TAI as an OSGi bundle and export the custom TAI service. For information on creating an OSGi bundle, see Creating an OSGi service bundle.
  4. Create a feature manifest to include the OSGi bundle. For more information about feature manifest file, see Liberty feature manifest files.
  5. After the feature is installed into the user product extension location, configure the server.xml file with the feature name. For example:
    <featureManager>
       ...
      <feature>usr:customTaiSample-1.0</feature>
    </featureManager>

Icon that indicates the type of topic Task topic



Timestamp icon Last updated: Tuesday, 12 December 2017
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-libcore-mp&topic=twlp_feat_tai
File name: twlp_feat_tai.html