com.sun.xml.wss
Class XWSSProcessorFactory

java.lang.Object
  extended by com.sun.xml.wss.XWSSProcessorFactory

public abstract class XWSSProcessorFactory
extends java.lang.Object

XWSSProcessorFactory is a factory for creating XWSSProcessor Objects. An XWSSProcessor Object can be used for


Field Summary
static java.lang.String DEFAULT_XWSS_PROCESSOR_FACTORY
           
static java.lang.String XWSS_PROCESSOR_FACTORY_PROPERTY
           
 
Constructor Summary
XWSSProcessorFactory()
           
 
Method Summary
abstract  XWSSProcessor createProcessorForSecurityConfiguration(java.io.InputStream securityConfiguration, javax.security.auth.callback.CallbackHandler handler)
          Creates a new instance of XWSSProcessor
static XWSSProcessorFactory newInstance()
          Creates a new instance of XWSSProcessorFactory
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XWSS_PROCESSOR_FACTORY_PROPERTY

public static final java.lang.String XWSS_PROCESSOR_FACTORY_PROPERTY
See Also:
Constant Field Values

DEFAULT_XWSS_PROCESSOR_FACTORY

public static final java.lang.String DEFAULT_XWSS_PROCESSOR_FACTORY
See Also:
Constant Field Values
Constructor Detail

XWSSProcessorFactory

public XWSSProcessorFactory()
Method Detail

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(java.io.InputStream securityConfiguration,
                                                                      javax.security.auth.callback.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


Copyright ? 2005 Sun Microsystems, Inc. All Rights Reserved.