IBM WebSphere Application ServerTM
Release 8

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

All Superinterfaces:
Configuration

public interface CallbackHandlerConfig
extends Configuration

This is an interface for the configuration object of the callback handler.

See Also:
Configuration

Field Summary
static java.lang.String CONFIG_KEY
           
 
Method Summary
 java.util.List<java.security.cert.CertStore> getCertStores()
          Gets the certificate store.
 java.lang.String getClassName()
          Gets the class name.
 javax.security.auth.callback.CallbackHandler getInstance()
          Gets the CallbackHandler object.
 KeyInformationConfig getKeyInformation()
          Gets the key information.
 java.security.cert.PKIXBuilderParameters getPKIXBuilderParameters()
          Gets the certificate store.
 java.util.Map<java.lang.Object,java.lang.Object> getProperties()
          Gets the Map object which contains name-value pairs.
 java.security.Provider getProvider()
          Gets the provider.
 KeyStoreConfig getResolvingKeyStore()
          Gets the path of a keystore used for key locator.
 KeyStoreConfig getTrustAnchor()
          Gets the path of a trust anchor.
 java.lang.String getUserId()
          Gets the user id used for the basic authentication.
 char[] getUserPassword()
          Gets the user password used for the basic authentication.
 boolean isTrustAnyCertificate()
          Gets whether this consumer trusts any certificate.
 void setInstance(javax.security.auth.callback.CallbackHandler instance)
          Sets the CallbackHandler object.
 
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

getClassName

java.lang.String getClassName()
Gets the class name.

Returns:
The class name

getInstance

javax.security.auth.callback.CallbackHandler getInstance()
Gets the CallbackHandler object.

Returns:
The CallbackHandler object

setInstance

void setInstance(javax.security.auth.callback.CallbackHandler instance)
Sets the CallbackHandler object.

Parameters:
instance - The CallbackHandler object

getResolvingKeyStore

KeyStoreConfig getResolvingKeyStore()
Gets the path of a keystore used for key locator.

Returns:
The path of a keystore

getKeyInformation

KeyInformationConfig getKeyInformation()
Gets the key information.

Returns:
The key information

isTrustAnyCertificate

boolean isTrustAnyCertificate()
Gets whether this consumer trusts any certificate.

Returns:
True of this consumer trusts any certificate, otherwise false

getTrustAnchor

KeyStoreConfig getTrustAnchor()
Gets the path of a trust anchor.

Returns:
The path of a trust anchor

getProvider

java.security.Provider getProvider()
Gets the provider.

Returns:
The provider

getCertStores

java.util.List<java.security.cert.CertStore> getCertStores()
Gets the certificate store.

Returns:
The certificate store

getPKIXBuilderParameters

java.security.cert.PKIXBuilderParameters getPKIXBuilderParameters()
Gets the certificate store.

Returns:
The certificate store

getUserId

java.lang.String getUserId()
Gets the user id used for the basic authentication.

Returns:
User id

getUserPassword

char[] getUserPassword()
Gets the user password used for the basic authentication.

Returns:
User password

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

IBM WebSphere Application ServerTM
Release 8