LTPA Token in Tomcat (Spring security)

848 views Asked by At

I need to create a sso(Single Sign On) based on the LTPA, is there a way to use the tomcat server to accept the LTPA token or the spring security can decrypt the LTPA token and authorize the user. And I have probably searched everywhere, However there is no solution,

How can i configure spring security to use WebSphere LTPA authentication? Once spring security and LTPA have authenticated, how can i set/get the LTPA token in/from cookie?

Thanks in advance.

2

There are 2 answers

1
Bill Holtzhauser On

I am sorry, but IBM does not provide any public libraries for LTPA encryption / decryption.

1
Chunlong On

If this is brower web application, you can set up WebSphere Liberty as OpenID Connect provider, and setup Tomcat as OpenId Connect client. When unauthenticated user access Tomcat, Tomcat redirects user to Liberty OIDC sever for authentication. The Liberty server will verify the LTPA cookie, and return standard OIDC token to Tomcat. So Tomcat will work with its own token/cookie, and relies on Liberty to verify ltpa cookie and receive standard compliant OIDC tokens