java.lang.Object
com.sun.xml.wss.XWSSProcessorFactory
- Direct Known Subclasses:
XWSSProcessorFactory2_0Impl
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract XWSSProcessorcreateProcessorForSecurityConfiguration(InputStream securityConfiguration, CallbackHandler handler) Creates a new instance ofXWSSProcessorstatic XWSSProcessorFactoryCreates a new instance ofXWSSProcessorFactory
-
Field Details
-
XWSS_PROCESSOR_FACTORY_PROPERTY
- See Also:
-
DEFAULT_XWSS_PROCESSOR_FACTORY
- See Also:
-
-
Constructor Details
-
XWSSProcessorFactory
protected XWSSProcessorFactory()Default constructor.
-
-
Method Details
-
newInstance
Creates a new instance ofXWSSProcessorFactory- Returns:
- a new instance of
XWSSProcessorFactory - Throws:
XWSSecurityException- if there was an error in creating the theXWSSProcessorFactory
-
createProcessorForSecurityConfiguration
public abstract XWSSProcessor createProcessorForSecurityConfiguration(InputStream securityConfiguration, CallbackHandler handler) throws XWSSecurityException Creates a new instance ofXWSSProcessor- Parameters:
securityConfiguration- anInputStreamfor theSecurityConfigurationXML to be used by theXWSSProcessorhandler- a JAASCallbackHandlerto be used by theXWSSProcessorfor Key and other Security information retrieval- Returns:
- a new instance of
XWSSProcessor - Throws:
XWSSecurityException- if there was an error in creating the theXWSSProcessor
-