public abstract class WSSFactory
extends java.lang.Object
Constructor and Description |
---|
WSSFactory() |
Modifier and Type | Method and Description |
---|---|
static WSSFactory |
getInstance()
Instanciates WSSFactory itself.
|
abstract SecurityToken |
newSecurityToken(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler)
Instanciates the security token class.
|
abstract SecurityToken |
newSecurityToken(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String loginConfigName)
Instanciates the security token class.
|
abstract SecurityToken[] |
newSecurityTokens(java.lang.Class[] tokenClasses,
javax.security.auth.callback.CallbackHandler callbackHandler)
Instanciates the security token classes.
|
abstract SecurityToken[] |
newSecurityTokens(java.lang.Class[] tokenClasses,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String loginConfigName)
Instanciates some security token classes.
|
abstract WSSConsumingContext |
newWSSConsumingContext()
Instanciate the WSSConsumingContext class, which stored the comsuption components.
|
abstract WSSConsumingContext |
newWSSConsumingContext(java.lang.String actor)
Instanciate the WSSConsumingContext class, which stored the comsuption components.
|
abstract WSSDecryption |
newWSSDecryption()
Instantiates the WSSDecryption class.
|
abstract WSSDecryption |
newWSSDecryption(java.lang.Class tokenClass)
Instantiates the WSSDecryption class.
|
abstract WSSDecryption |
newWSSDecryption(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler)
Instantiates the WSSDecryption class.
|
abstract WSSDecryption |
newWSSDecryption(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String loginConfigName)
Instantiates the WSSDecryption class.
|
abstract WSSDecryptPart |
newWSSDecryptPart()
Instantiates the WSSDecryptPart class.
|
abstract WSSEncryption |
newWSSEncryption()
Instantiates the WSSEncryption class.
|
abstract WSSEncryption |
newWSSEncryption(SecurityToken token)
Instantiates the WSSEncryption class.
|
abstract WSSEncryptPart |
newWSSEncryptPart()
Instanciates the WSSEncryptPart class.
|
abstract WSSGenerationContext |
newWSSGenerationContext()
Instanciates the WSSGenerationContext class.
|
abstract WSSGenerationContext |
newWSSGenerationContext(java.lang.String actor)
Instanciates the WSSGenerationContext class.
|
abstract WSSSignature |
newWSSSignature(SecurityToken token)
Instanciates the WSSSignature class.
|
abstract WSSSignPart |
newWSSSignPart()
Instanciates the WSSSignPart class.
|
abstract WSSTimestamp |
newWSSTimestamp()
Instanciates the WSSTimestamp class.
|
abstract WSSVerification |
newWSSVerification(java.lang.Class tokenClass)
Instanciates WSSVerification class.
|
abstract WSSVerification |
newWSSVerification(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler)
Instanciates WSSVerification class.
|
abstract WSSVerification |
newWSSVerification(java.lang.Class tokenClass,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.lang.String loginConfigName)
Instanciates WSSVerification class.
|
abstract WSSVerifyPart |
newWSSVerifyPart()
Instanciates the WSSVerifyPart class.
|
public static WSSFactory getInstance() throws WSSException
WSSException
- if the illegal access occurs or if the WSSFactory instance is not generated.public abstract WSSGenerationContext newWSSGenerationContext()
public abstract WSSGenerationContext newWSSGenerationContext(java.lang.String actor)
actor
- the actorpublic abstract WSSConsumingContext newWSSConsumingContext()
public abstract WSSConsumingContext newWSSConsumingContext(java.lang.String actor)
actor
- the actorpublic abstract WSSSignature newWSSSignature(SecurityToken token)
token
- the security token with key for the purpose the signaturepublic abstract WSSSignPart newWSSSignPart()
public abstract WSSEncryption newWSSEncryption(SecurityToken token)
token
- the security token with key for the purpose the encryption.public abstract WSSEncryption newWSSEncryption()
public abstract WSSEncryptPart newWSSEncryptPart()
public abstract WSSTimestamp newWSSTimestamp() throws WSSException
WSSException
- the error occurs in parsing the duration timepublic abstract SecurityToken newSecurityToken(java.lang.Class tokenClass, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String loginConfigName) throws WSSException
tokenClass
- class of the security tokencallbackHandler
- callback handlerloginConfigName
- name of the JAAS login configurationWSSException
- if
the SecurityToken instance is not generatedpublic abstract SecurityToken[] newSecurityTokens(java.lang.Class[] tokenClasses, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String loginConfigName) throws WSSException
classes
- of the security tokencallbackHandler
- callback handlerloginConfigName
- name of the JAAS login configurationWSSException
- if
the SecurityToken instances are not generatedpublic abstract SecurityToken newSecurityToken(java.lang.Class tokenClass, javax.security.auth.callback.CallbackHandler callbackHandler) throws WSSException
tokenClass
- class of the security tokencallbackHandler
- callback handlerWSSException
- if
the SecurityToken instance is not generatedpublic abstract SecurityToken[] newSecurityTokens(java.lang.Class[] tokenClasses, javax.security.auth.callback.CallbackHandler callbackHandler) throws WSSException
classes
- of the security tokencallbackHandler
- callback handlerWSSException
- if
the SecurityToken instances are not generatedpublic abstract WSSVerification newWSSVerification(java.lang.Class tokenClass) throws WSSException
tokenClass
- class of the security tokenWSSException
- if the tokenClass is not validpublic abstract WSSVerification newWSSVerification(java.lang.Class tokenClass, javax.security.auth.callback.CallbackHandler callbackHandler) throws WSSException
tokenClass
- class of the security tokencallbackHandler
- callback handlerWSSException
- if the arguments is not validpublic abstract WSSVerification newWSSVerification(java.lang.Class tokenClass, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String loginConfigName) throws WSSException
tokenClass
- class of the security tokencallbackHandler
- callback handlerloginConfigName
- name of the JAAS login configurationWSSException
- if the arguments are not validpublic abstract WSSVerifyPart newWSSVerifyPart()
public abstract WSSDecryption newWSSDecryption(java.lang.Class tokenClass, javax.security.auth.callback.CallbackHandler callbackHandler, java.lang.String loginConfigName) throws WSSException
tokenClass
- class of the security tokencallbackHandler
- callback handlerloginConfigName
- name of the JAAS login configurationWSSException
- if the arguments are not validpublic abstract WSSDecryption newWSSDecryption(java.lang.Class tokenClass, javax.security.auth.callback.CallbackHandler callbackHandler) throws WSSException
tokenClass
- classClass of the security tokencallbackHandler
- callback handlerWSSException
- if the arguments are not validpublic abstract WSSDecryption newWSSDecryption(java.lang.Class tokenClass) throws WSSException
tokenClass
- class of the security tokenWSSException
- if the tokenClass is not validpublic abstract WSSDecryption newWSSDecryption()
public abstract WSSDecryptPart newWSSDecryptPart()