public final class AuthenticationCommonsHttpInvokerRequestExecutor extends KSBHttpInvokerRequestExecutor
KSBHttpInvokerRequestExecutor that retrieves
credentials from the CredentialsSource and places them in a BASIC HTTP
Authorization header.CONTENT_TYPE_SERIALIZED_OBJECT, ENCODING_GZIP, HTTP_HEADER_ACCEPT_ENCODING, HTTP_HEADER_ACCEPT_LANGUAGE, HTTP_HEADER_CONTENT_ENCODING, HTTP_HEADER_CONTENT_LENGTH, HTTP_HEADER_CONTENT_TYPE, HTTP_METHOD_POST, logger| Constructor and Description |
|---|
AuthenticationCommonsHttpInvokerRequestExecutor(org.apache.http.client.HttpClient httpClient,
CredentialsSource credentialsSource,
ServiceConfiguration serviceConfiguration)
Constructor that accepts the CredentialsSource and Service Info.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
setRequestBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config,
org.apache.http.client.methods.HttpPost httpPost,
ByteArrayOutputStream baos)
Overridden to obtain the Credentials from the CredentialsSource and pass
them via HTTP BASIC Authorization.
|
getDigitalSignatureService, getJavaSecurityManagementService, getResponseBody, getSecure, isSecure, setSecure, signRequest, validateResponsecreateHttpPost, doExecuteRequest, executeHttpPost, getHttpClient, isGzipResponse, setConnectTimeout, setHttpClient, setReadTimeoutcreateObjectInputStream, decorateInputStream, decorateOutputStream, doReadRemoteInvocationResult, doWriteRemoteInvocation, executeRequest, getBeanClassLoader, getByteArrayOutputStream, getContentType, isAcceptGzipEncoding, readRemoteInvocationResult, setAcceptGzipEncoding, setBeanClassLoader, setContentType, writeRemoteInvocationpublic AuthenticationCommonsHttpInvokerRequestExecutor(org.apache.http.client.HttpClient httpClient, CredentialsSource credentialsSource, ServiceConfiguration serviceConfiguration)
httpClient - the http clientcredentialsSource - the source of credentials.serviceConfiguration - the service configuration.protected void setRequestBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config, org.apache.http.client.methods.HttpPost httpPost, ByteArrayOutputStream baos) throws IOException
setRequestBody in class KSBHttpInvokerRequestExecutorIOExceptionCopyright © 2005–2015 The Kuali Foundation. All rights reserved.