org.kuali.rice.ksb.security
Class ResponseHeaderDigitalSigner

java.lang.Object
  extended by org.kuali.rice.ksb.security.AbstractDigitalSigner
      extended by 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)

Constructor Summary
ResponseHeaderDigitalSigner(Signature signature, Certificate certificate, javax.servlet.http.HttpServletResponse response)
           
ResponseHeaderDigitalSigner(Signature signature, String alias, Certificate certificate, javax.servlet.http.HttpServletResponse response)
           
ResponseHeaderDigitalSigner(Signature signature, String alias, javax.servlet.http.HttpServletResponse response)
           
 
Method Summary
 void sign()
          Sign the message using the Signature.
 
Methods inherited from class org.kuali.rice.ksb.security.AbstractDigitalSigner
getEncodedCertificate, getEncodedSignature, getSignature, getSignatureBytes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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-2011 The Kuali Foundation. All Rights Reserved.