Package com.sun.xml.wss.impl.misc
Class XWSSProcessor2_0Impl
java.lang.Object
com.sun.xml.wss.impl.misc.XWSSProcessor2_0Impl
- All Implemented Interfaces:
XWSSProcessor
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedXWSSProcessor2_0Impl(InputStream securityConfig) protectedXWSSProcessor2_0Impl(InputStream securityConfig, CallbackHandler handler) -
Method Summary
Modifier and TypeMethodDescriptionCreate a Processing Context initialized with the given SOAPMessagesecureOutboundMessage(ProcessingContext context) Adds Security to an outboundSOAPMessageaccording to the Security Policy inferred from theSecurityConfigurationwith which thisXWSSProcessorwas initialized.verifyInboundMessage(ProcessingContext context) Verifies Security in an inboundSOAPMessageaccording to the Security Policy inferred from theSecurityConfigurationwith which thisXWSSProcessorwas initialized.
-
Constructor Details
-
XWSSProcessor2_0Impl
protected XWSSProcessor2_0Impl(InputStream securityConfig, CallbackHandler handler) throws XWSSecurityException - Throws:
XWSSecurityException
-
XWSSProcessor2_0Impl
-
-
Method Details
-
secureOutboundMessage
Description copied from interface:XWSSProcessorAdds Security to an outboundSOAPMessageaccording to the Security Policy inferred from theSecurityConfigurationwith which thisXWSSProcessorwas initialized.- Specified by:
secureOutboundMessagein interfaceXWSSProcessor- Parameters:
context- the SOAPProcessingContextcontaining the outgoingSOAPMessageto be secured- Returns:
- the resultant Secure
SOAPMessage - Throws:
XWSSecurityException- if there was an error in securing the message.
-
verifyInboundMessage
Description copied from interface:XWSSProcessorVerifies Security in an inboundSOAPMessageaccording to the Security Policy inferred from theSecurityConfigurationwith which thisXWSSProcessorwas initialized.- Specified by:
verifyInboundMessagein interfaceXWSSProcessor- Parameters:
context- the SOAPProcessingContextcontaining the outgoingSOAPMessageto be secured- Returns:
- the resultant
SOAPMessageafter successful verification of security in the message - Throws:
XWSSecurityException- if there was an unexpected error while verifying the message.OR if the security in the incoming message violates the Security policy that was applied to the message.
-
createProcessingContext
Description copied from interface:XWSSProcessorCreate a Processing Context initialized with the given SOAPMessage- Specified by:
createProcessingContextin interfaceXWSSProcessor- Parameters:
msg- the SOAPMessage with which to initialize the ProcessingContext- Returns:
- A ProcessingContext instance.
- Throws:
XWSSecurityException
-