|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ilog.rules.teamserver.auth.AuthenticationHandler<T>
T
- The credentials to use to establish a connection.public abstract class AuthenticationHandler<T extends AuthenticationCredentials>
Abstract class that handles the connection to Decision Center.
AuthenticationCredentials
Constructor Summary | |
---|---|
AuthenticationHandler()
|
Method Summary | |
---|---|
boolean |
acceptSelfSignedCertificate()
Indicates whether the transaction accepts self-signed certificates. |
abstract void |
closeSession()
Closes the session. |
abstract AuthenticationResponse |
connect(String url,
T credentials)
Establishes the connection to Decision Center. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationHandler()
Method Detail |
---|
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 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(String url, T credentials) throws IlrConnectException
IlrConnectException
url
- The URL of Decision Center.credentials
- The credentials to use.
AuthenticationResponse
public abstract void closeSession()
|
Decision Center API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |