Class XWSSProcessorFactory

java.lang.Object
com.sun.xml.wss.XWSSProcessorFactory
Direct Known Subclasses:
XWSSProcessorFactory2_0Impl

public abstract class XWSSProcessorFactory extends Object
XWSSProcessorFactory is a factory for creating XWSSProcessor Objects. An XWSSProcessor Object can be used for
  • Securing an outbound SOAPMessage
  • Verifying the security in an inbound SOAPMessage
  • Field Details

  • Constructor Details

    • XWSSProcessorFactory

      protected XWSSProcessorFactory()
      Default constructor.
  • Method Details

    • newInstance

      public static XWSSProcessorFactory newInstance() throws XWSSecurityException
      Creates a new instance of XWSSProcessorFactory
      Returns:
      a new instance of XWSSProcessorFactory
      Throws:
      XWSSecurityException - if there was an error in creating the the XWSSProcessorFactory
    • createProcessorForSecurityConfiguration

      public abstract XWSSProcessor createProcessorForSecurityConfiguration(InputStream securityConfiguration, CallbackHandler handler) throws XWSSecurityException
      Creates a new instance of XWSSProcessor
      Parameters:
      securityConfiguration - an InputStream for the SecurityConfiguration XML to be used by the XWSSProcessor
      handler - a JAAS CallbackHandler to be used by the XWSSProcessor for Key and other Security information retrieval
      Returns:
      a new instance of XWSSProcessor
      Throws:
      XWSSecurityException - if there was an error in creating the the XWSSProcessor