com.ibm.wsspi.wssecurity.core.config

Interface TokenGeneratorConfig

All Superinterfaces:
Configuration

  1. public interface TokenGeneratorConfig
  2. extends Configuration
This is an interface for the configuration object of the token generator.
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 the token.
  1. boolean
isStandAlone()
Checks whether the token is used alone.
  1. boolean
isUsedForEncryption()
Checks whether the token is used for encryption.
  1. 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

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

Method Detail

getType

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

  1. boolean isStandAlone()
Checks whether the token is used alone.
Returns:
True if the token is used alone, otherwise false

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

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

isUsedForSigning

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

isUsedForEncryption

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