Questions tagged [ltpa]

LTPA - Lightweight Third-Party Authentication is a IBM provided mechanism to achieve Single Sign-On between IBM WebSphere servers and Lotus Domino servers. Once a user is successfully authenticated a LTPA token will be stored as a cookie in the user's web browser, providing who the authenticated user is to other servers in the same configured SSO domain.

LTPA - Lightweight Third-Party Authentication is a IBM provided mechanism to achieve Single Sign-On between IBM WebSphere servers and Lotus Domino servers. If the server is configured to use LTPA, the server first checks for a valid LTPA token for the SSO domain the server has been configured for. If the LTPA token is not yet present the user must authenticate normally.

Technology

In order for a server to use the LTPA authentication mechanism, it must first be configured to do so. When configuring the usage of LTPA between servers, the servers must be in the same domain (also configured in the LTPA configuration) and use the same LTPA SSO key as each other. Once the user has been authenticated the first time, the server creates two cookies: LtpaToken and LtpaToken2. The latter is the latest version of the token, the former is used for backward compability with older servers. The cookies are encrypted and contains (as a minimum requirement) the user's login.

When the same user accesses another server in the same SSO domain, the user will not need to re-authenticate. The server will read the LTPA token and after validating it accept the users authentication.

The LTPA token is time sensitive and will eventually expire. As a result it is important that the time on the server is synchronized as the server might otherwise consider a fully valid token as invalid. How long the token is valid for is configured on the server.

More information

88 questions
0
votes
1 answer

Custom cache key missed authentication cache. Need to re-challenge the user to login again

Using liberty 18.0.0.1 set up in a collective. I have a custom TAI that creates a subject with a custom cache key. This works out of the box with WAS Classic Cell, but in my collective, when authenticated on one server, and then acessing another…
bwa
  • 71
  • 7
0
votes
1 answer

Securing LTPA Token in WebSphere Liberty Profile

We are using WebSphere Liberty Profile (17.0.0.4) to run our JAX-RS REST services. We are running our applications through Contrast, which is a scanning service. It is flagging our cookies as having the secure flag turned off. However, we are not…
Westy
  • 707
  • 2
  • 10
  • 23
0
votes
2 answers

get ltpatoken2 expiry time

I am currently testing a web application deployed on IBM Websphere Application Server. I understand that I can set the LTPAToken timeout via the console configuration. However, is there any way I can retrieve the timeout duration or a listener in…
Sebastian
  • 63
  • 7
0
votes
1 answer

From SAML to LTPA2 Token for IBM BPM 8.5.6

I am building a TAI Interceptor for Websphere 8.5.5.x, the aim is to intercept the request and send it for 2-Factor authentication which will then return a SAML token. I am doing this by implementing…
0
votes
1 answer

Convert SOAP based to Restful application

I have to covert a SOAP based into RESTFul application. We are using IBM websphere and LTPA token for authentication. I have 2 ideas about it. Manually convert into restful application. (Not sure how to integrate LTPA into it) Provide a proxy so…
Raghuveer
  • 2,859
  • 7
  • 34
  • 66
0
votes
1 answer

Liberty LTPA SSO configuration failing with com.ibm.ws.security.registry.EntryNotFoundException

I am building the SSO between IBM ISAM & LIberty profile using LTPA token, The ISAM is configured with LDAP authentication and i have added same LDAP users into liberty server.xml basic registry. Now after the ISAM authentication i am not able to…
Mkm
  • 53
  • 1
  • 6
0
votes
1 answer

LTPA ChallengeHandler Javascript MFP8

I'm working on the new Platform MFP8 and I want to implement an LTPA Authentication in an hybrid application. Searching in the web I found a Swift implementation of LTPA ChallengeHandler…
Stefano
  • 39
  • 1
  • 8
0
votes
2 answers

Export and import key file for SSO between WAS and Liberty

Can I export a LTPA key file from a WebSphere Application Server 8.0.x, then import the file to an Liberty Profile Server and use the SSO functionality? (16.0.0.3) I tried it out and it seems not to work. I get a login screen instead of being…
Karsten
  • 11
  • 5
0
votes
1 answer

Caching/Storing the LTPA token generated in datapower

I'm generating an LTPA token in datapower after the authentication. I want to store this token for further processing.(to validate against another request) How can I store/cache this token in datapower?
0
votes
2 answers

Validate LTPA token in nodejs

IS there any way to validate LTPA token previously generated from IBM Tivoli federated Websphere Application Server in my nodejs application. I have checked "ldapjs", but I could not find something to validate LTPA token.
0
votes
1 answer

Login to MobileFirst server with Facebook/Twitter

What is recommended way to Sign in / Log in to MobileFirst Server with e.g. Facebook, or Twitter? My MobileFirst Server is associated with WebspherePortal (LDAP). Now I'm using WebSphere LTPA-based authentication to login to MF, and everything…
3squad
  • 355
  • 3
  • 14
0
votes
1 answer

Websphere7 - Spnego logon fails (LtpaToken2 parsing exception)

I'm using WebSphere 7.0.0.29 and I've problem with SPNEGO authorization - WAS returns HTTP Code 401 in second response and logon fails. This is because (as I suppose) it can't parse LTPA Token (LtpaToken2) from client. It throws…
Buffalo
  • 101
  • 1
  • 8
0
votes
0 answers

LTPA using IBM Security Access Manager and MobileFirst 6.3 throwing exception

Here is the setup for LTPA token based authentication between ISAM and MobileFirst 6.3: ISAM appliance is hosting Login page and generating LTPA token using the ltpa.keys from MobileFirst 6.3 server. ISAM also connects to LDAP to authenticate user…
msobhani
  • 1
  • 2
0
votes
1 answer

Get authorisation token after HttpServletRequest.login()

In our webapplication we need to store the authentication token (LtpaToken2 (websphere), JSESSIONID(tomcat)) in an external datastore after a successful login. I was hoping to retrieve the token after a login on the HttpServletRequest object. …
dr jerry
  • 9,768
  • 24
  • 79
  • 122
0
votes
0 answers

WebShere Custom login portlet UNAUTHENTICATED Principal

I have a JSF portlet Application with a custom JSF login portlet that uses the portletservice/com.ibm.portal.portlet.service.login.LoginHome to log in users, after successful login I try the following code: WSSubject.getRunAsSubject(), it gives…