public class LtpaTokenAuthenticationCredentials extends AuthenticationCredentials
When a web user has been authenticated on IBM Websphere, the browser receives a cookie with the LTPA token. The cookie, containing the LTPA token, allows the user to authenticate on servers configured to accept the LPTA token.
The default name of the cookie is "LtpaToken2". You can change the default name by adding the property "LtpaTokenName" to the details of the credential. For example:
credentials.addAuthenticationDetails(LtpaTokenAuthenticationCredentials.LtpaTokenName,);
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
LtpaTokenName
This key gives the name of the cookie that contains the LTPA token.
|
AuthenticationHandlerClassname| Constructor and Description |
|---|
LtpaTokenAuthenticationCredentials(java.lang.String ltpaToken)
Creates credentials given an LTPA token.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getLtpaToken()
Returns the LTPA token.
|
addAuthenticationDetails, getAuthenticationDetailNames, getAuthenticationDetails, removeAuthenticationDetailspublic static java.lang.String LtpaTokenName
© Copyright IBM Corp. 1987, 2017