com.ibm.websphere.wssecurity.wssapi
Class WSSFactory
- java.lang.Object
com.ibm.websphere.wssecurity.wssapi.WSSFactory
- public abstract class WSSFactory
- extends java.lang.Object
Constructor Summary
Constructor and Description |
---|
WSSFactory()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getInstance()
Instanciates WSSFactory itself.
|
|
newSecurityToken(java.lang.Class tokenClass,javax.security.auth.callback.CallbackHandler callbackHandler)
Instanciates the security token class.
|
|
newSecurityToken(java.lang.Class tokenClass,javax.security.auth.callback.CallbackHandler callbackHandler,java.lang.String loginConfigName)
Instanciates the security token class.
|
|
newSecurityTokens(java.lang.Class[] tokenClasses,javax.security.auth.callback.CallbackHandler callbackHandler)
Instanciates the security token classes.
|
|
newSecurityTokens(java.lang.Class[] tokenClasses,javax.security.auth.callback.CallbackHandler callbackHandler,java.lang.String loginConfigName)
Instanciates some security token classes.
|
|
newWSSConsumingContext()
Instanciate the WSSConsumingContext class, which stored the comsuption components.
|
|
newWSSConsumingContext(java.lang.String actor)
Instanciate the WSSConsumingContext class, which stored the comsuption components.
|
|
newWSSDecryption()
Instantiates the WSSDecryption class.
|
|
newWSSDecryption(java.lang.Class tokenClass)
Instantiates the WSSDecryption class.
|
|
newWSSDecryption(java.lang.Class tokenClass,javax.security.auth.callback.CallbackHandler callbackHandler)
Instantiates the WSSDecryption class.
|
|
newWSSDecryption(java.lang.Class tokenClass,javax.security.auth.callback.CallbackHandler callbackHandler,java.lang.String loginConfigName)
Instantiates the WSSDecryption class.
|
|
newWSSDecryptPart()
Instantiates the WSSDecryptPart class.
|
|
newWSSEncryption()
Instantiates the WSSEncryption class.
|
|
newWSSEncryption(SecurityToken token)
Instantiates the WSSEncryption class.
|
|
newWSSEncryptPart()
Instanciates the WSSEncryptPart class.
|
|
newWSSGenerationContext()
Instanciates the WSSGenerationContext class.
|
|
newWSSGenerationContext(java.lang.String actor)
Instanciates the WSSGenerationContext class.
|
|
newWSSSignature(SecurityToken token)
Instanciates the WSSSignature class.
|
|
newWSSSignPart()
Instanciates the WSSSignPart class.
|
|
newWSSTimestamp()
Instanciates the WSSTimestamp class.
|
|
newWSSVerification(java.lang.Class tokenClass)
Instanciates WSSVerification class.
|
|
newWSSVerification(java.lang.Class tokenClass,javax.security.auth.callback.CallbackHandler callbackHandler)
Instanciates WSSVerification class.
|
|
newWSSVerification(java.lang.Class tokenClass,javax.security.auth.callback.CallbackHandler callbackHandler,java.lang.String loginConfigName)
Instanciates WSSVerification class.
|
|
newWSSVerifyPart()
Instanciates the WSSVerifyPart class.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
WSSFactory
- public WSSFactory()
Method Detail
getInstance
- public static WSSFactory getInstance( )
- throws WSSException
Instanciates WSSFactory itself.
Returns:
WSSFactory object
Throws:
WSSException
- if the illegal access occurs or if the WSSFactory instance is not generated. newWSSGenerationContext
- public abstract WSSGenerationContext newWSSGenerationContext( )
Instanciates the WSSGenerationContext class.
Returns:
WSSGenerationContext object
newWSSGenerationContext
- public abstract WSSGenerationContext newWSSGenerationContext( java.lang.String actor)
Instanciates the WSSGenerationContext class.
Parameters:
actor
- the actor Returns:
WSSGenerationContext object
newWSSConsumingContext
- public abstract WSSConsumingContext newWSSConsumingContext( )
Instanciate the WSSConsumingContext class, which stored the comsuption components.
Returns:
WSSConsumingContext object
newWSSConsumingContext
- public abstract WSSConsumingContext newWSSConsumingContext( java.lang.String actor)
Instanciate the WSSConsumingContext class, which stored the comsuption components.
Parameters:
actor
- the actor Returns:
WSSConsumingContext object
newWSSSignature
- public abstract WSSSignature newWSSSignature( SecurityToken token)
Instanciates the WSSSignature class.
Parameters:
token
- the security token with key for the purpose the signature Returns:
WSSSignature object
newWSSSignPart
- public abstract WSSSignPart newWSSSignPart( )
Instanciates the WSSSignPart class.
Returns:
WSSSignPart object
newWSSEncryption
- public abstract WSSEncryption newWSSEncryption( SecurityToken token)
Instantiates the WSSEncryption class.
Parameters:
token
- the security token with key for the purpose the encryption. Returns:
WSSEncryption object
newWSSEncryption
- public abstract WSSEncryption newWSSEncryption( )
Instantiates the WSSEncryption class.
Returns:
WSSEncryption object
newWSSEncryptPart
- public abstract WSSEncryptPart newWSSEncryptPart( )
Instanciates the WSSEncryptPart class.
Returns:
WSSEncryptPart object
newWSSTimestamp
- public abstract WSSTimestamp newWSSTimestamp( )
- throws WSSException
Instanciates the WSSTimestamp class.
newSecurityToken
- public abstract SecurityToken newSecurityToken( java.lang.Class tokenClass,
- javax.security.auth.callback.CallbackHandler callbackHandler,
- java.lang.String loginConfigName)
- throws WSSException
Instanciates the security token class.
Parameters:
tokenClass
- class of the security token callbackHandler
- callback handler loginConfigName
- name of the JAAS login configuration Returns:
security token object
Throws:
WSSException
- if
the SecurityToken instance is not generated newSecurityTokens
- public abstract SecurityToken[] newSecurityTokens( java.lang.Class[] tokenClasses,
- javax.security.auth.callback.CallbackHandler callbackHandler,
- java.lang.String loginConfigName)
- throws WSSException
Instanciates some security token classes.
This method is for WS-SecureConversation.
callbackHandler
- callback handler loginConfigName
- name of the JAAS login configuration Returns:
security token objects
Throws:
WSSException
- if
the SecurityToken instances are not generated newSecurityToken
- public abstract SecurityToken newSecurityToken( java.lang.Class tokenClass,
- javax.security.auth.callback.CallbackHandler callbackHandler)
- throws WSSException
Instanciates the security token class.
Parameters:
tokenClass
- class of the security token callbackHandler
- callback handler Returns:
security token object
Throws:
WSSException
- if
the SecurityToken instance is not generated newSecurityTokens
- public abstract SecurityToken[] newSecurityTokens( java.lang.Class[] tokenClasses,
- javax.security.auth.callback.CallbackHandler callbackHandler)
- throws WSSException
Instanciates the security token classes.
This method is for WS-SecureConversation.
callbackHandler
- callback handler Returns:
security token objects
Throws:
WSSException
- if
the SecurityToken instances are not generated newWSSVerification
- public abstract WSSVerification newWSSVerification( java.lang.Class tokenClass)
- throws WSSException
Instanciates WSSVerification class.
Parameters:
tokenClass
- class of the security token Returns:
WSSVerification object
Throws:
WSSException
- if the tokenClass is not valid newWSSVerification
- public abstract WSSVerification newWSSVerification( java.lang.Class tokenClass,
- javax.security.auth.callback.CallbackHandler callbackHandler)
- throws WSSException
Instanciates WSSVerification class.
Parameters:
tokenClass
- class of the security token callbackHandler
- callback handler Returns:
WSSVerification object
Throws:
WSSException
- if the arguments is not valid newWSSVerification
- public abstract WSSVerification newWSSVerification( java.lang.Class tokenClass,
- javax.security.auth.callback.CallbackHandler callbackHandler,
- java.lang.String loginConfigName)
- throws WSSException
Instanciates WSSVerification class.
Parameters:
tokenClass
- class of the security token callbackHandler
- callback handler loginConfigName
- name of the JAAS login configuration Returns:
WSSVerification object
Throws:
WSSException
- if the arguments are not valid newWSSVerifyPart
- public abstract WSSVerifyPart newWSSVerifyPart( )
Instanciates the WSSVerifyPart class.
Returns:
WSSVerifyPart object
newWSSDecryption
- public abstract WSSDecryption newWSSDecryption( java.lang.Class tokenClass,
- javax.security.auth.callback.CallbackHandler callbackHandler,
- java.lang.String loginConfigName)
- throws WSSException
Instantiates the WSSDecryption class.
Parameters:
tokenClass
- class of the security token callbackHandler
- callback handler loginConfigName
- name of the JAAS login configuration Returns:
WSSDecryption object
Throws:
WSSException
- if the arguments are not valid newWSSDecryption
- public abstract WSSDecryption newWSSDecryption( java.lang.Class tokenClass,
- javax.security.auth.callback.CallbackHandler callbackHandler)
- throws WSSException
Instantiates the WSSDecryption class.
Parameters:
tokenClass
- classClass of the security token callbackHandler
- callback handler Returns:
WSSDecryption object
Throws:
WSSException
- if the arguments are not valid newWSSDecryption
- public abstract WSSDecryption newWSSDecryption( java.lang.Class tokenClass)
- throws WSSException
Instantiates the WSSDecryption class.
Parameters:
tokenClass
- class of the security token Returns:
WSSDecryption object
Throws:
WSSException
- if the tokenClass is not valid newWSSDecryption
- public abstract WSSDecryption newWSSDecryption( )
Instantiates the WSSDecryption class.
Returns:
WSSDecryption object
newWSSDecryptPart
- public abstract WSSDecryptPart newWSSDecryptPart( )
Instantiates the WSSDecryptPart class.
Returns:
WSSDecryptPart object