IBM WebSphere Application ServerTM
Release 8

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

All Superinterfaces:
Configuration

public interface TokenConsumerConfig
extends Configuration

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

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 this token.
 boolean isEnforceTokenVersion()
          Checks whether the token version should be enforced on consumption.
 boolean isUsedForDecryption()
          Checks whether the token is used for decryption.
 boolean isUsedForVerification()
          Checks whether the token is used for signature verification.
 
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 this token. It is represented as the qualified name, such as wsse:X509v3 or wsse:UsernameToken.

Returns:
The type of this token

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

isUsedForVerification

boolean isUsedForVerification()
Checks whether the token is used for signature verification.

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

isUsedForDecryption

boolean isUsedForDecryption()
Checks whether the token is used for decryption.

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

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

isEnforceTokenVersion

boolean isEnforceTokenVersion()
Checks whether the token version should be enforced on consumption.

Returns:
True if the token version should be enforced, otherwise false

IBM WebSphere Application ServerTM
Release 8