com.ibm.wsspi.wssecurity.config

Interface TokenConsumerConfig

All Superinterfaces:
com.ibm.ws.webservices.wssecurity.config.Configuration

  1. public interface TokenConsumerConfig
  2. extends com.ibm.ws.webservices.wssecurity.config.Configuration
An interface for retrieving TokenConsumer configuration data.
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. java.util.Map
getCallerProperties()
Gets the Map object which contains name-value pairs related with the caller.
  1. TokenConsumerComponent
getInstance()
Gets the instance of token consumer.
  1. java.lang.String
getJAASConfig()
Gets the module name in the JAAS configuration.
  1. java.util.Map
getJAASConfigProperties()
Gets the Map object which contains name-value pairs for the JAAS configuration.
  1. java.security.cert.PKIXBuilderParameters
getPKIXBuilderParameters()
Gets the certificate store.
  1. java.util.Map
getProperties()
Gets the Map object which contains name-value pairs.
  1. java.security.Provider
getProvider()
Gets the provider.
  1. TrustedIDEvaluator
getTrustedIDEvaluator()
Gets the evaluator of trusted identifiers.
  1. java.util.Map
getTrustMethodProperties()
Gets the Map object which contains name-value pairs related with the trusted identifier.
  1. javax.xml.namespace.QName
getType()
Gets the type of this token.
  1. java.lang.String
getUsage()
Gets the usage of the consumer.
  1. boolean
isCallerRequired()
Checks whether the token is used to specify the caller.
  1. boolean
isTrustAnyCertificate()
Gets whether this consumer trusts any certificate.
  1. boolean
isTrustMethodRequired()
Checks whether the token is used to specify the trusted identifier.
  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.ws.webservices.wssecurity.config.Configuration
validate

Field Detail

CONFIG_KEY

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

Method Detail

getInstance

  1. TokenConsumerComponent getInstance( )
Gets the instance of token consumer.
Returns:
The instance of token consumer

getUsage

  1. java.lang.String getUsage()
Gets the usage of the consumer.
Returns:
The usage of the consumer

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

getTrustedIDEvaluator

  1. TrustedIDEvaluator getTrustedIDEvaluator( )
Gets the evaluator of trusted identifiers.
Returns:
The evaluator of trusted identifiers

isTrustAnyCertificate

  1. boolean isTrustAnyCertificate()
Gets whether this consumer trusts any certificate.
Returns:
True of this consumer trusts any certificate, otherwise false

getProvider

  1. java.security.Provider getProvider( )
Gets the provider.
Returns:
The provider

getPKIXBuilderParameters

  1. java.security.cert.PKIXBuilderParameters getPKIXBuilderParameters( )
Gets the certificate store.
Returns:
The certificate store

isCallerRequired

  1. boolean isCallerRequired()
Checks whether the token is used to specify the caller.
Returns:
True if the token is used to specify the caller, otherwise false

getCallerProperties

  1. java.util.Map getCallerProperties( )
Gets the Map object which contains name-value pairs related with the caller.
Returns:
The Map object

isTrustMethodRequired

  1. boolean isTrustMethodRequired()
Checks whether the token is used to specify the trusted identifier.
Returns:
True if the token is used to specify the trusted identifier, otherwise false

getTrustMethodProperties

  1. java.util.Map getTrustMethodProperties( )
Gets the Map object which contains name-value pairs related with the trusted identifier.
Returns:
The Map object

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 getJAASConfigProperties( )
Gets the Map object which contains name-value pairs for the JAAS configuration.
Returns:
The Map object

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 getProperties()
Gets the Map object which contains name-value pairs. These pairs include <Property> elements in the configuration XMI files.
Returns:
The Map object