+

Search Tips   |   Advanced Search

Develop a custom TAI as a Liberty profile feature


Overview

We can develop a custom TAI as a Liberty profile feature by implementing the com.ibm.wsspi.security.tai.TrustAssociationInterceptor interface provided in the Liberty profile server and creating a product extension. For a general view of custom TAI, see Develop a custom TAI . For more information about product extensions, see Product extension. If we have multiple TAIs, we can configure all of them using either the user feature or the shared library. Do not mix the two TAI configurations.


Develop a custom TAI

  1. Implement the custom TAI.

  2. Convert the implementation class into an OSGi service.

    Use one of the following methods...

  3. Package the custom TAI as an OSGi bundle and export the custom TAI service.

  4. Create a feature manifest to include the OSGi bundle.

  5. After the feature is installed into the user product extension location, configure server.xml with the feature name. For example:

      <featureManager>
           ...
          <feature>usr:customTaiSample-1.0</feature>
      </featureManager>


Parent topic: Develop a Liberty feature

Concepts: Product extension
Develop a custom TAI
Work with the OSGi service registry
Declaring the services to OSGi Declarative Services
Liberty feature manifest files