IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.wssecurity.core.config
Interface TokenGeneratorConfig

All Superinterfaces:
Configuration

public interface TokenGeneratorConfig
extends Configuration

This is an interface for the configuration object of the token generator.

See Also:
Configuration

Field Summary
static java.lang.String CONFIG_KEY
           
 
Method Summary
 CallbackHandlerConfig getCallbackHandler()
          Gets the configuration of a callback handler.
 java.lang.String getJAASConfig()
          Gets the module name in the JAAS configuration.
 java.util.Map<java.lang.Object,java.lang.Object> getJAASConfigProperties()
          Gets the Map object which contains name-value pairs for the JAAS configuration.
 java.util.Map<java.lang.Object,java.lang.Object> getProperties()
          Gets the Map object which contains name-value pairs.
 javax.xml.namespace.QName getType()
          Gets the type of the token.
 boolean isStandAlone()
          Checks whether the token is used alone.
 boolean isUsedForEncryption()
          Checks whether the token is used for encryption.
 boolean isUsedForSigning()
          Checks whether the token is used for signature signing.
 
Methods inherited from interface com.ibm.wsspi.wssecurity.core.config.Configuration
validate
 

Field Detail

CONFIG_KEY

static final java.lang.String CONFIG_KEY
See Also:
Constant Field Values
Method Detail

getType

javax.xml.namespace.QName getType()
Gets the type of the token. It is represented as the qualified name, such as wsse:X509v3 or wsse:UsernameToken.

Returns:
The type of the token

isStandAlone

boolean isStandAlone()
Checks whether the token is used alone.

Returns:
True if the token is used alone, otherwise false

getJAASConfig

java.lang.String getJAASConfig()
Gets the module name in the JAAS configuration.

Returns:
The module name in the JAAS configuration

getJAASConfigProperties

java.util.Map<java.lang.Object,java.lang.Object> getJAASConfigProperties()
Gets the Map object which contains name-value pairs for the JAAS configuration.

Returns:
The Map object

getCallbackHandler

CallbackHandlerConfig getCallbackHandler()
Gets the configuration of a callback handler.

Returns:
Configuration of a callback handler

getProperties

java.util.Map<java.lang.Object,java.lang.Object> getProperties()
Gets the Map object which contains name-value pairs. These pairs include <Property> elements in the configuration XMI files.

Returns:
The Map object

isUsedForSigning

boolean isUsedForSigning()
Checks whether the token is used for signature signing.

Returns:
True if the token is used for signature signing, otherwise false

isUsedForEncryption

boolean isUsedForEncryption()
Checks whether the token is used for encryption.

Returns:
True if the token is used for encryption, otherwise false

IBM WebSphere Application ServerTM
Release 8