com.ibm.wsspi.wssecurity.core.config

Interface TokenConsumerConfig

All Superinterfaces:
Configuration

  1. public interface TokenConsumerConfig
  2. extends Configuration
This is an interface for the configuration object of the token consumer.
See Also:
Configuration

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
CONFIG_KEY

Method Summary

Modifier and Type Method and Description
  1. CallbackHandlerConfig
getCallbackHandler()
Gets the configuration of a callback handler.
  1. java.lang.String
getJAASConfig()
Gets the module name in the JAAS configuration.
  1. java.util.Map<java.lang.Object,java.lang.Object>
getJAASConfigProperties()
Gets the Map object which contains name-value pairs for the JAAS configuration.
  1. java.util.Map<java.lang.Object,java.lang.Object>
getProperties()
Gets the Map object which contains name-value pairs.
  1. javax.xml.namespace.QName
getType()
Gets the type of this token.
  1. boolean
isEnforceTokenVersion()
Checks whether the token version should be enforced on consumption.
  1. boolean
isUsedForDecryption()
Checks whether the token is used for decryption.
  1. 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

  1. static final java.lang.String CONFIG_KEY
See Also:

Method Detail

getType

  1. 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

  1. java.lang.String getJAASConfig( )
Gets the module name in the JAAS configuration.
Returns:
The module name in the JAAS configuration

getJAASConfigProperties

  1. 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

  1. CallbackHandlerConfig getCallbackHandler( )
Gets the configuration of a callback handler.
Returns:
Configuration of a callback handler

isUsedForVerification

  1. boolean isUsedForVerification()
Checks whether the token is used for signature verification.
Returns:
True if the token is used for signature verification, otherwise false

isUsedForDecryption

  1. boolean isUsedForDecryption()
Checks whether the token is used for decryption.
Returns:
True if the token is used for decryption, otherwise false

getProperties

  1. 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

  1. boolean isEnforceTokenVersion()
Checks whether the token version should be enforced on consumption.
Returns:
True if the token version should be enforced, otherwise false