Class XWSSProcessor2_0Impl

java.lang.Object
com.sun.xml.wss.impl.misc.XWSSProcessor2_0Impl
All Implemented Interfaces:
XWSSProcessor

public class XWSSProcessor2_0Impl extends Object implements XWSSProcessor
  • Constructor Details

  • Method Details

    • secureOutboundMessage

      public javax.xml.soap.SOAPMessage secureOutboundMessage(ProcessingContext context) throws XWSSecurityException
      Description copied from interface: XWSSProcessor
      Adds Security to an outbound SOAPMessage according to the Security Policy inferred from the SecurityConfiguration with which this XWSSProcessor was initialized.
      Specified by:
      secureOutboundMessage in interface XWSSProcessor
      Parameters:
      context - the SOAP ProcessingContext containing the outgoing SOAPMessage to be secured
      Returns:
      the resultant Secure SOAPMessage
      Throws:
      XWSSecurityException - if there was an error in securing the message.
    • verifyInboundMessage

      public javax.xml.soap.SOAPMessage verifyInboundMessage(ProcessingContext context) throws XWSSecurityException
      Description copied from interface: XWSSProcessor
      Verifies Security in an inbound SOAPMessage according to the Security Policy inferred from the SecurityConfiguration with which this XWSSProcessor was initialized.
      Specified by:
      verifyInboundMessage in interface XWSSProcessor
      Parameters:
      context - the SOAP ProcessingContext containing the outgoing SOAPMessage to be secured
      Returns:
      the resultant SOAPMessage after 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

      public ProcessingContext createProcessingContext(javax.xml.soap.SOAPMessage msg) throws XWSSecurityException
      Description copied from interface: XWSSProcessor
      Create a Processing Context initialized with the given SOAPMessage
      Specified by:
      createProcessingContext in interface XWSSProcessor
      Parameters:
      msg - the SOAPMessage with which to initialize the ProcessingContext
      Returns:
      A ProcessingContext instance.
      Throws:
      XWSSecurityException