IBM WebSphere Application ServerTM
Release 8

com.ibm.wsspi.wssecurity.config
Interface CallbackHandlerConfig

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

public interface CallbackHandlerConfig
extends com.ibm.ws.webservices.wssecurity.config.Configuration

An interface for retrieving CallbackHandler configuration data.

See Also:
Configuration

Field Summary
static java.lang.String CONFIG_KEY
           
 
Method Summary
 java.security.cert.Certificate getCertificate(java.lang.String alias)
          Gets the Certificate object corresponding to the specified alias.
 java.lang.String getClassName()
          Gets the class name.
 javax.security.auth.callback.CallbackHandler getInstance()
          Gets the CallbackHandler object.
 java.util.Set getKeyInformationList()
          Gets the set of key information from the KeyStore.
 java.security.KeyStore getKeyStore()
          Gets the KeyStore object.
 java.lang.String getKeyStorePath()
          Gets the path of a keystore.
 java.util.Map getProperties()
          Gets the Map object which contains name-value pairs.
 java.lang.String getUserId()
          Gets the user id used for the basic authentication.
 char[] getUserPassword()
          Gets the user password used for the basic authentication.
 void setInstance(javax.security.auth.callback.CallbackHandler instance)
          Sets the CallbackHandler object.
 
Methods inherited from interface com.ibm.ws.webservices.wssecurity.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

getKeyInformationList

java.util.Set getKeyInformationList()
Gets the set of key information from the KeyStore.

Returns:
The set of information about keys

getKeyStore

java.security.KeyStore getKeyStore()
                                   throws SoapSecurityException
Gets the KeyStore object.

Returns:
The KeyStore object
Throws:
SoapSecurityException - When there is a problem during getting the KeyStore object

getKeyStorePath

java.lang.String getKeyStorePath()
Gets the path of a keystore.

Returns:
The path of a keystore

getCertificate

java.security.cert.Certificate getCertificate(java.lang.String alias)
                                              throws SoapSecurityException
Gets the Certificate object corresponding to the specified alias.

Parameters:
alias - The alias of an certificate
Returns:
The Certificate object
Throws:
SoapSecurityException - When there is a problem during getting the Certificate object

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