Skip navigation links
ilog.rules.teamserver.auth
Class UsernamePasswordAuthenticationHandler
java.lang.Object
ilog.rules.teamserver.auth.AuthenticationHandler<UsernamePasswordAuthenticationCredentials>
ilog.rules.teamserver.auth.UsernamePasswordAuthenticationHandler
public class UsernamePasswordAuthenticationHandler
- extends AuthenticationHandler<UsernamePasswordAuthenticationCredentials>
Connects to Decision Center using form-based authentication.
- See Also:
UsernamePasswordAuthenticationCredentials
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsernamePasswordAuthenticationHandler
public UsernamePasswordAuthenticationHandler()
connect
public AuthenticationResponse connect(String url,
UsernamePasswordAuthenticationCredentials credentials)
throws 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<UsernamePasswordAuthenticationCredentials>
- Throws:
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
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<UsernamePasswordAuthenticationCredentials>
Skip navigation links
© Copyright IBM Corp. 1987, 2013