Package com.sun.xml.wss
Class XWSSProcessorFactory
- java.lang.Object
-
- com.sun.xml.wss.XWSSProcessorFactory
-
- Direct Known Subclasses:
XWSSProcessorFactory2_0Impl
public abstract class XWSSProcessorFactory extends Object
XWSSProcessorFactoryis 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 Modifier and Type Field Description static StringDEFAULT_XWSS_PROCESSOR_FACTORYstatic StringXWSS_PROCESSOR_FACTORY_PROPERTY
-
Constructor Summary
Constructors Constructor Description XWSSProcessorFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract XWSSProcessorcreateProcessorForSecurityConfiguration(InputStream securityConfiguration, CallbackHandler handler)Creates a new instance ofXWSSProcessorstatic XWSSProcessorFactorynewInstance()Creates a new instance ofXWSSProcessorFactory
-
-
-
Field Detail
-
XWSS_PROCESSOR_FACTORY_PROPERTY
public static final String XWSS_PROCESSOR_FACTORY_PROPERTY
- See Also:
- Constant Field Values
-
DEFAULT_XWSS_PROCESSOR_FACTORY
public static final String DEFAULT_XWSS_PROCESSOR_FACTORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
public static XWSSProcessorFactory newInstance() throws XWSSecurityException
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
-
-