| edu.iu.uis.eden.messaging.KEWHttpInvokerRequestExecutor
All known Subclasses: org.kuali.bus.security.httpinvoker.AuthenticationCommonsHttpInvokerRequestExecutor,
KEWHttpInvokerRequestExecutor | public class KEWHttpInvokerRequestExecutor extends CommonsHttpInvokerRequestExecutor (Code) | | At HttpInvokerRequestExecutor which is capable of digitally signing and verifying messages. It's capabilities
to execute the signing and verification can be turned on or off via an application constant.
author: Kuali Rice Team (kuali-rice@googlegroups.com) |
Method Summary | |
protected InputStream | getResponseBody(HttpInvokerClientConfiguration config, PostMethod postMethod) Returns a wrapped InputStream which is responsible for verifying the digital signature on the response after all
data has been read. | public Boolean | getSecure() | protected boolean | isSecure() | protected void | setRequestBody(HttpInvokerClientConfiguration config, PostMethod postMethod, ByteArrayOutputStream baos) Signs the outgoing request by generating a digital signature from the bytes in the ByteArrayOutputStream and attaching the
signature and our alias to the headers of the PostMethod. | public void | setSecure(Boolean secure) | protected void | signRequest(PostMethod postMethod, ByteArrayOutputStream baos) Signs the request by adding headers to the PostMethod. | protected void | validateResponse(HttpInvokerClientConfiguration config, PostMethod postMethod) |
KEWHttpInvokerRequestExecutor | public KEWHttpInvokerRequestExecutor()(Code) | | |
KEWHttpInvokerRequestExecutor | public KEWHttpInvokerRequestExecutor(Boolean secure)(Code) | | |
KEWHttpInvokerRequestExecutor | public KEWHttpInvokerRequestExecutor(HttpClient httpClient)(Code) | | |
getResponseBody | protected InputStream getResponseBody(HttpInvokerClientConfiguration config, PostMethod postMethod) throws IOException(Code) | | Returns a wrapped InputStream which is responsible for verifying the digital signature on the response after all
data has been read.
|
isSecure | protected boolean isSecure()(Code) | | |
setRequestBody | protected void setRequestBody(HttpInvokerClientConfiguration config, PostMethod postMethod, ByteArrayOutputStream baos) throws IOException(Code) | | Signs the outgoing request by generating a digital signature from the bytes in the ByteArrayOutputStream and attaching the
signature and our alias to the headers of the PostMethod.
|
validateResponse | protected void validateResponse(HttpInvokerClientConfiguration config, PostMethod postMethod) throws IOException(Code) | | |
|
|