org.kuali.rice.ksb.security
Class HttpClientHeaderDigitalSigner
java.lang.Object
org.kuali.rice.ksb.security.AbstractDigitalSigner
org.kuali.rice.ksb.security.HttpClientHeaderDigitalSigner
- All Implemented Interfaces:
- DigitalSigner
public class HttpClientHeaderDigitalSigner
- extends AbstractDigitalSigner
A DigitalSigner implementation which places the alias and digital signature into the request
headers of the commons HttpClient's HttpMethod.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Method Summary |
void |
sign()
Sign the message using the Signature. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpClientHeaderDigitalSigner
public HttpClientHeaderDigitalSigner(Signature signature,
org.apache.commons.httpclient.HttpMethod method,
String alias)
HttpClientHeaderDigitalSigner
public HttpClientHeaderDigitalSigner(Signature signature,
org.apache.commons.httpclient.HttpMethod method,
String alias,
Certificate certificate)
HttpClientHeaderDigitalSigner
public HttpClientHeaderDigitalSigner(Signature signature,
org.apache.commons.httpclient.HttpMethod method,
Certificate certificate)
sign
public void sign()
throws Exception
- Description copied from interface:
DigitalSigner
- Sign the message using the Signature. This method will not be called until all of the message data
has been populated into the Signature. After signing implementations may, for example, place the digital
signature in a header or perform whatever steps are required to successfully sign the message.
- Throws:
Exception
Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.