Configuring TAI in WebSphere Application Server
Posted by Albin Joseph | Posted in WebSphere | Posted on 03-07-2008
2
Configuring TAI in WebSphere Application Server.
Yesterday I posted about how to create a custom Trust Association Interceptor for WAS. Today I will be explaining how to configure the TAI in WAS. In order to configure the TAI in WebSphere Application Server, export the TAI project as a jar file. (Creating and exporting a jar is very easy in RAD. Right click on the project and select Export. From the export wizard window select ‘JAR file’. It will show all the projects available with the one we right clicked as selected. Enter the destination where we want to save our generated jar file and enter a name for the jar file say tai.jar and click on Finish. Our jar file is ready).
Once we completed generation of jar file for TAI, we need to copy the same jar file to WAS_INSTALL_DIR\lib\ext folder. Now we need to make an entry for our TAI inside the admin console. The steps for configuring a TAI in WebSphere are given below.
1. Login to WebSphere admin console.
2. Click on Global Security under Security menu.
3. From the page opened up expand Authentication Mechanisms and click on LTPA
4. The LTPA configuration page opens up. Click on Trust Association links.
5. Select the “Enable trust association” check box. And save the changes.
6. Come back to the same page if you are not there already.
7. Click on Interceptors
8. Click on New
9. Enter the fully qualified name of your TAI inside “Interceptor class name” text box.
10. Save the changes
We are done. Restart the server and our new custom TAI will be ready for use.


(3 votes, average: 4.67 out of 5)
Hi,
I’m new in this TAI thing.
So, theres something that I stil don’t understand. In your example, how do you define the http requests for which the TAI Interceptor is called?
It’s called for all the requests made to the application server?
Thanks in Advance
I guess the TAI is called for all the requests to the secured resources.