public class KeystoneAuthentication extends HTTPAuthentication
| Modifier and Type | Field and Description |
|---|---|
static String |
IDENTIFIER |
| Constructor and Description |
|---|
KeystoneAuthentication(HTTPAuthentication originalAuthentication) |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate()
Runs the authentication.
|
Authentication |
getFallback()
Returns authentication's fallback authentication method.
|
String |
getIdentifier()
Returns unique identifier for this authentication method.
|
org.apache.http.client.methods.CloseableHttpResponse |
getOriginalResponse() |
void |
setOriginalResponse(org.apache.http.client.methods.CloseableHttpResponse response) |
createSSLContext, getCAFile, getCAPath, getConnection, getCredentialsProvider, getTarget, loadCAs, setCAFile, setCAPath, setConnection, setCredentialsProvider, setTargetpublic static final String IDENTIFIER
public KeystoneAuthentication(HTTPAuthentication originalAuthentication)
public org.apache.http.client.methods.CloseableHttpResponse getOriginalResponse()
public void setOriginalResponse(org.apache.http.client.methods.CloseableHttpResponse response)
public String getIdentifier()
AuthenticationgetIdentifier in interface AuthenticationgetIdentifier in class HTTPAuthenticationpublic Authentication getFallback()
AuthenticationgetFallback in interface AuthenticationgetFallback in class HTTPAuthenticationpublic void authenticate()
throws CommunicationException
Authenticationauthenticate in interface Authenticationauthenticate in class HTTPAuthenticationCommunicationException - when error occures during the
communicationCopyright © 2016. All rights reserved.