This repository contains a class that serves as a sample implementation of a Trust Association Interceptor (TAI) interface. This project aims to create a sample TAI jar file that is compatible with the following runtimes:
- Open Liberty
- WebSphere Liberty
- WebSphere Application Server traditional
In order to make sure that the file behaves as intended, follow the steps outlined below:
- Obtain the source tree that contains the TAI sample source file:
- Make the necessary modifications to the
SampleTAI.java
file to reflect the desired behavior.- This might involve implementing new methods, modifying existing functionality, or adding additional logic as required.
- Make sure that you have Maven installed on your system.
- If you do not have Maven installed, you can download it from the official Maven website and follow the installation instructions.
- Open a terminal or command prompt and navigate to the root directory of your project where the pom.xml file is located.
- Run the following command to build and package the project using Maven:
mvn package
- After the build process completes successfully, a
JAR
file is created in the target directory of your project../target/sampletai-1.0-SNAPSHOT.jar
The following articles provide instructions on how to configure the JAR file for the WebSphere runtimes.
- WebSphere Liberty or OpenLiberty
- WebSphere Application Server traditional
- An end-to-end example for configuring a TAI on WebSphere Application traditional can be found in IBM DOCs at Developing a custom trust association interceptor
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.