|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor org.kuali.rice.ksb.messaging.KSBHttpInvokerRequestExecutor org.kuali.rice.ksb.security.httpinvoker.AuthenticationCommonsHttpInvokerRequestExecutor
public final class AuthenticationCommonsHttpInvokerRequestExecutor
Extension to KSBHttpInvokerRequestExecutor
that retrieves
credentials from the CredentialsSource and places them in a BASIC HTTP
Authorization header.
Field Summary |
---|
Fields inherited from class org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor |
---|
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 Summary | |
---|---|
AuthenticationCommonsHttpInvokerRequestExecutor(org.apache.commons.httpclient.HttpClient httpClient,
CredentialsSource credentialsSource,
ServiceConfiguration serviceConfiguration)
Constructor that accepts the CredentialsSource and Service Info. |
Method Summary | |
---|---|
protected void |
setRequestBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config,
org.apache.commons.httpclient.methods.PostMethod postMethod,
ByteArrayOutputStream baos)
Overridden to obtain the Credentials from the CredentialsSource and pass them via HTTP BASIC Authorization. |
Methods inherited from class org.kuali.rice.ksb.messaging.KSBHttpInvokerRequestExecutor |
---|
getDigitalSignatureService, getJavaSecurityManagementService, getResponseBody, getSecure, isSecure, setSecure, signRequest, validateResponse |
Methods inherited from class org.springframework.remoting.httpinvoker.CommonsHttpInvokerRequestExecutor |
---|
createPostMethod, doExecuteRequest, executePostMethod, getHttpClient, isGzipResponse, setConnectTimeout, setHttpClient, setReadTimeout |
Methods inherited from class org.springframework.remoting.httpinvoker.AbstractHttpInvokerRequestExecutor |
---|
createObjectInputStream, decorateInputStream, decorateOutputStream, doReadRemoteInvocationResult, doWriteRemoteInvocation, executeRequest, getBeanClassLoader, getByteArrayOutputStream, getContentType, isAcceptGzipEncoding, readRemoteInvocationResult, setAcceptGzipEncoding, setBeanClassLoader, setContentType, writeRemoteInvocation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuthenticationCommonsHttpInvokerRequestExecutor(org.apache.commons.httpclient.HttpClient httpClient, CredentialsSource credentialsSource, ServiceConfiguration serviceConfiguration)
credentialsSource
- the source of credentials.serviceInfo
- information about the service.Method Detail |
---|
protected void setRequestBody(org.springframework.remoting.httpinvoker.HttpInvokerClientConfiguration config, org.apache.commons.httpclient.methods.PostMethod postMethod, ByteArrayOutputStream baos) throws IOException
setRequestBody
in class KSBHttpInvokerRequestExecutor
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |