Skip navigation links
ilog.rules.teamserver.auth
Class LtpaTokenAuthenticationHandler
java.lang.Object
ilog.rules.teamserver.auth.AuthenticationHandler<LtpaTokenAuthenticationCredentials>
ilog.rules.teamserver.auth.LtpaTokenAuthenticationHandler
public class LtpaTokenAuthenticationHandler
- extends AuthenticationHandler<LtpaTokenAuthenticationCredentials>
Connects to Decision Center using the LTPA technology. A cookie containing the LTPA token is added to every request
to Decision Center.
- See Also:
LtpaTokenAuthenticationCredentials
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LtpaTokenAuthenticationHandler
public LtpaTokenAuthenticationHandler()
connect
public AuthenticationResponse connect(String url,
LtpaTokenAuthenticationCredentials credentials)
throws ilog.rules.teamserver.model.IlrConnectException
- Description copied from class:
AuthenticationHandler
- Establishes the connection to Decision Center. The credentials should contain all the connection data needed.
- Specified by:
connect
in class AuthenticationHandler<LtpaTokenAuthenticationCredentials>
- Throws:
ilog.rules.teamserver.model.IlrConnectException
- Parameters:
url
- The URL of Decision Center.credentials
- The credentials to use.
- Returns:
- The response with the status of the connection and the HTTP client to use to request Decision Center.
- See Also:
AuthenticationResponse
setRequestParams
public void setRequestParams(org.apache.commons.httpclient.HttpMethod method)
- Description copied from class:
AuthenticationHandler
- To customize the request to be sent via an
HTTP connection
to Decision Center.
- Overrides:
setRequestParams
in class AuthenticationHandler<LtpaTokenAuthenticationCredentials>
- Parameters:
method
- The method representing the request.
closeSession
public void closeSession()
- Description copied from class:
AuthenticationHandler
- Closes the session. Implementers are responsible for closing the underlying connection. Usually, the HTTP client is used for the connection.
- Specified by:
closeSession
in class AuthenticationHandler<LtpaTokenAuthenticationCredentials>
createGetMethod
protected org.apache.commons.httpclient.methods.GetMethod createGetMethod(String url)
throws IOException
- Throws:
IOException
createHttpClient
protected org.apache.commons.httpclient.HttpClient createHttpClient(URL url)
throws IOException
- Throws:
IOException
Skip navigation links
© Copyright IBM Corp. 1987, 2013