public abstract class AbstractSimpleAuthenticationCommandImpl extends AbstractCommand<org.apache.http.client.methods.HttpGet,Access> implements AuthenticationCommand
| Modifier and Type | Field and Description |
|---|---|
static String |
X_AUTH_TOKEN |
static String |
X_STORAGE_URL |
LOG, request, response| Constructor and Description |
|---|
AbstractSimpleAuthenticationCommandImpl(org.apache.http.client.HttpClient httpClient,
String url) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.http.client.methods.HttpGet |
createRequest(String url) |
protected String |
determineCompoundUsername(String username,
String tenantName) |
Access |
getReturnObject(org.apache.http.HttpResponse response) |
HttpStatusChecker[] |
getStatusCheckers() |
String |
getUrl() |
addHeaders, call, close, closeStreamAutomatically, createObjectMapper, modifyURI, setAllowErrorLog, setHeaderpublic static final String X_AUTH_TOKEN
public static final String X_STORAGE_URL
public AbstractSimpleAuthenticationCommandImpl(org.apache.http.client.HttpClient httpClient,
String url)
public Access getReturnObject(org.apache.http.HttpResponse response) throws IOException
getReturnObject in class AbstractCommand<org.apache.http.client.methods.HttpGet,Access>IOExceptionprotected org.apache.http.client.methods.HttpGet createRequest(String url)
createRequest in class AbstractCommand<org.apache.http.client.methods.HttpGet,Access>public HttpStatusChecker[] getStatusCheckers()
getStatusCheckers in class AbstractCommand<org.apache.http.client.methods.HttpGet,Access>public String getUrl()
getUrl in interface AuthenticationCommandCopyright © 2012-2017 42 BV. All Rights Reserved.