org.kuali.rice.ksb.security
Class ResponseHeaderDigitalSigner
java.lang.Object
org.kuali.rice.ksb.security.AbstractDigitalSigner
org.kuali.rice.ksb.security.ResponseHeaderDigitalSigner
- All Implemented Interfaces:
- DigitalSigner
public class ResponseHeaderDigitalSigner
- extends AbstractDigitalSigner
A DigitalSinger which places the alias and digital signature into the response headers of an HttpServletResponse.
- 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 |
ResponseHeaderDigitalSigner
public ResponseHeaderDigitalSigner(Signature signature,
String alias,
javax.servlet.http.HttpServletResponse response)
ResponseHeaderDigitalSigner
public ResponseHeaderDigitalSigner(Signature signature,
String alias,
Certificate certificate,
javax.servlet.http.HttpServletResponse response)
ResponseHeaderDigitalSigner
public ResponseHeaderDigitalSigner(Signature signature,
Certificate certificate,
javax.servlet.http.HttpServletResponse response)
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 © 2004-2011 The Kuali Foundation. All Rights Reserved.