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, setTarget
public 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()
Authentication
getIdentifier
in interface Authentication
getIdentifier
in class HTTPAuthentication
public Authentication getFallback()
Authentication
getFallback
in interface Authentication
getFallback
in class HTTPAuthentication
public void authenticate() throws CommunicationException
Authentication
authenticate
in interface Authentication
authenticate
in class HTTPAuthentication
CommunicationException
- when error occures during the
communicationCopyright © 2016. All Rights Reserved.