public class LtpaTokenAuthenticationHandler extends AuthenticationHandler<LtpaTokenAuthenticationCredentials>
LtpaTokenAuthenticationCredentials| Constructor and Description |
|---|
LtpaTokenAuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeSession()
Closes the session.
|
AuthenticationResponse |
connect(java.lang.String url,
LtpaTokenAuthenticationCredentials credentials)
Establishes the connection to Decision Center.
|
protected org.apache.commons.httpclient.methods.GetMethod |
createGetMethod(java.lang.String url) |
protected org.apache.commons.httpclient.HttpClient |
createHttpClient(java.net.URL url) |
void |
setRequestParams(org.apache.commons.httpclient.HttpMethod method)
To customize the request to be sent via an
HTTP connection to Decision Center. |
acceptSelfSignedCertificate, getRemoteService, setAcceptSelfSignedCertificatepublic AuthenticationResponse connect(java.lang.String url, LtpaTokenAuthenticationCredentials credentials) throws IlrConnectException
AuthenticationHandlerconnect in class AuthenticationHandler<LtpaTokenAuthenticationCredentials>IlrConnectExceptionurl - The URL of Decision Center.credentials - The credentials to use.AuthenticationResponsepublic void setRequestParams(org.apache.commons.httpclient.HttpMethod method)
AuthenticationHandlerHTTP connection to Decision Center.setRequestParams in class AuthenticationHandler<LtpaTokenAuthenticationCredentials>method - The method representing the request.public void closeSession()
AuthenticationHandlercloseSession in class AuthenticationHandler<LtpaTokenAuthenticationCredentials>protected org.apache.commons.httpclient.methods.GetMethod createGetMethod(java.lang.String url)
throws java.io.IOException
java.io.IOExceptionprotected org.apache.commons.httpclient.HttpClient createHttpClient(java.net.URL url)
throws java.io.IOException
java.io.IOException© Copyright IBM Corp. 1987, 2017