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

      • 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