Class 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
    • Constructor Detail

      • XWSSProcessorFactory

        public XWSSProcessorFactory()
    • Method Detail

      • newInstance

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

        public abstract XWSSProcessor createProcessorForSecurityConfiguration​(InputStream securityConfiguration,
                                                                              CallbackHandler handler)
                                                                       throws com.sun.xml.wss.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:
        com.sun.xml.wss.XWSSecurityException - if there was an error in creating the the XWSSProcessor