|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.websphere.wssecurity.wssapi.WSSFactory
public abstract class WSSFactory
This abstract class is responsible for the creation of classes that are required for WS-Security generation and consumption.
Constructor Summary | |
---|---|
WSSFactory()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSSFactory()
Method Detail |
---|
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 actor
public abstract WSSConsumingContext newWSSConsumingContext()
public abstract WSSConsumingContext newWSSConsumingContext(java.lang.String actor)
actor
- the actor
public abstract WSSSignature newWSSSignature(SecurityToken token)
token
- the security token with key for the purpose the signature
public 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 configuration
WSSException
- 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 configuration
WSSException
- 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 handler
WSSException
- 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 handler
WSSException
- if
the SecurityToken instances are not generatedpublic abstract WSSVerification newWSSVerification(java.lang.Class tokenClass) throws WSSException
tokenClass
- class of the security token
WSSException
- 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 handler
WSSException
- 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 configuration
WSSException
- 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 configuration
WSSException
- 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 handler
WSSException
- if the arguments are not validpublic abstract WSSDecryption newWSSDecryption(java.lang.Class tokenClass) throws WSSException
tokenClass
- class of the security token
WSSException
- if the tokenClass is not validpublic abstract WSSDecryption newWSSDecryption()
public abstract WSSDecryptPart newWSSDecryptPart()
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |