T - The credentials to use to establish a connection.public abstract class AuthenticationHandler<T extends AuthenticationCredentials>
extends java.lang.Object
AuthenticationCredentials| Constructor and Description |
|---|
AuthenticationHandler() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptSelfSignedCertificate()
Indicates whether the transaction accepts self-signed certificates.
|
abstract void |
closeSession()
Closes the session.
|
abstract AuthenticationResponse |
connect(java.lang.String url,
T credentials)
Establishes the connection to Decision Center.
|
java.lang.String |
getRemoteService()
Returns the name of the service to call to establish a connection to Decision Center.
|
void |
setAcceptSelfSignedCertificate(boolean acceptSelfSignedCertificate)
Indicates whether the transaction accepts self-signed certificatew.
|
void |
setRequestParams(org.apache.commons.httpclient.HttpMethod method)
To customize the request to be sent via an
HTTP connection to Decision Center. |
public boolean acceptSelfSignedCertificate()
true if the transaction accepts self-signed certificate, and false otherwise.public void setAcceptSelfSignedCertificate(boolean acceptSelfSignedCertificate)
acceptSelfSignedCertificate - A boolean to indicate whether the transaction accepts self-signed certificates.public java.lang.String getRemoteService()
public void setRequestParams(org.apache.commons.httpclient.HttpMethod method)
HTTP connection to Decision Center.method - The method representing the request.public abstract AuthenticationResponse connect(java.lang.String url, T credentials) throws IlrConnectException
IlrConnectExceptionurl - The URL of Decision Center.credentials - The credentials to use.AuthenticationResponsepublic abstract void closeSession()
© Copyright IBM Corp. 1987, 2017