org.globus.wsrf.impl.security.authentication.wssec
Class WSSecurityResponseEngine

java.lang.Object
  extended byorg.globus.wsrf.impl.security.authentication.wssec.WSSecurityEngine
      extended byorg.globus.wsrf.impl.security.authentication.wssec.WSSecurityResponseEngine

public class WSSecurityResponseEngine
extends WSSecurityEngine


Field Summary
private static WSSecurityEngine engine
           
private static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.globus.wsrf.impl.security.authentication.wssec.WSSecurityEngine
i18n, SIG_LN
 
Constructor Summary
WSSecurityResponseEngine()
           
 
Method Summary
 boolean decryptXMLEncryption(org.w3c.dom.Element element, javax.xml.rpc.handler.MessageContext msgCtx)
           
static WSSecurityEngine getEngine()
           
 org.w3c.dom.Document processSecurityHeader(javax.xml.soap.SOAPEnvelope env, javax.xml.rpc.handler.MessageContext msgCtx)
           
 boolean verifyGssXMLSignature(org.apache.xml.security.signature.XMLSignature sig, javax.xml.rpc.handler.MessageContext msgContext)
           
 boolean verifyXMLSignature(org.apache.xml.security.signature.XMLSignature sig, javax.xml.rpc.handler.MessageContext msgCtx)
           
 
Methods inherited from class org.globus.wsrf.impl.security.authentication.wssec.WSSecurityEngine
checkMessageValidity, decryptXMLEncryption, enforceSecureDispatchHeaders, ensureSignature, getCertificatesX509Data, getResourceKeyHeaderQName, getSubject, handleEncryptionElement, handleSignatureElement, handleUsernameElement, normalize, processSecurityHeader, processSecurityHeader, processSecurityHeader, processTimestampHeader, rejectMsgSansTimestampHeader, setContextProperties, verifyTimestamp, verifyTimestamp, verifyXMLSignature
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static org.apache.commons.logging.Log log

engine

private static WSSecurityEngine engine
Constructor Detail

WSSecurityResponseEngine

public WSSecurityResponseEngine()
Method Detail

getEngine

public static WSSecurityEngine getEngine()

processSecurityHeader

public org.w3c.dom.Document processSecurityHeader(javax.xml.soap.SOAPEnvelope env,
                                                  javax.xml.rpc.handler.MessageContext msgCtx)
                                           throws java.lang.Exception
Specified by:
processSecurityHeader in class WSSecurityEngine
Throws:
java.lang.Exception

verifyGssXMLSignature

public boolean verifyGssXMLSignature(org.apache.xml.security.signature.XMLSignature sig,
                                     javax.xml.rpc.handler.MessageContext msgContext)
                              throws java.lang.Exception
Specified by:
verifyGssXMLSignature in class WSSecurityEngine
Throws:
java.lang.Exception

decryptXMLEncryption

public boolean decryptXMLEncryption(org.w3c.dom.Element element,
                                    javax.xml.rpc.handler.MessageContext msgCtx)
                             throws java.lang.Exception
Specified by:
decryptXMLEncryption in class WSSecurityEngine
Throws:
java.lang.Exception

verifyXMLSignature

public boolean verifyXMLSignature(org.apache.xml.security.signature.XMLSignature sig,
                                  javax.xml.rpc.handler.MessageContext msgCtx)
                           throws java.lang.Exception
Specified by:
verifyXMLSignature in class WSSecurityEngine
Throws:
java.lang.Exception