org.globus.wsrf.impl.security.authentication.wssec
Class WSSecurityRequestEngine
java.lang.Object
org.globus.wsrf.impl.security.authentication.wssec.WSSecurityEngine
org.globus.wsrf.impl.security.authentication.wssec.WSSecurityRequestEngine
- public class WSSecurityRequestEngine
- extends WSSecurityEngine
|
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 |
log
private static org.apache.commons.logging.Log log
engine
private static WSSecurityEngine engine
WSSecurityRequestEngine
public WSSecurityRequestEngine()
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
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
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
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