com.ibm.wsspi.wssecurity.config

Interface CallbackHandlerConfig

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

  1. public interface CallbackHandlerConfig
  2. extends com.ibm.ws.webservices.wssecurity.config.Configuration
An interface for retrieving CallbackHandler 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.security.cert.Certificate
getCertificate(java.lang.String alias)
Gets the Certificate object corresponding to the specified alias.
  1. java.lang.String
getClassName()
Gets the class name.
  1. javax.security.auth.callback.CallbackHandler
getInstance()
Gets the CallbackHandler object.
  1. java.util.Set
getKeyInformationList()
Gets the set of key information from the KeyStore.
  1. java.security.KeyStore
getKeyStore()
Gets the KeyStore object.
  1. java.lang.String
getKeyStorePath()
Gets the path of a keystore.
  1. java.util.Map
getProperties()
Gets the Map object which contains name-value pairs.
  1. java.lang.String
getUserId()
Gets the user id used for the basic authentication.
  1. char[]
getUserPassword()
Gets the user password used for the basic authentication.
  1. 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

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

Method Detail

getClassName

  1. java.lang.String getClassName()
Gets the class name.
Returns:
The class name

getInstance

  1. javax.security.auth.callback.CallbackHandler getInstance( )
Gets the CallbackHandler object.
Returns:
The CallbackHandler object

setInstance

  1. void setInstance(javax.security.auth.callback.CallbackHandler instance)
Sets the CallbackHandler object.
Parameters:
instance - The CallbackHandler object

getKeyInformationList

  1. java.util.Set getKeyInformationList( )
Gets the set of key information from the KeyStore.
Returns:
The set of information about keys

getKeyStore

  1. java.security.KeyStore getKeyStore( )
  2. throws SoapSecurityException
Gets the KeyStore object.
Returns:
The KeyStore object
Throws:
SoapSecurityException - When there is a problem during getting the KeyStore object

getKeyStorePath

  1. java.lang.String getKeyStorePath( )
Gets the path of a keystore.
Returns:
The path of a keystore

getCertificate

  1. java.security.cert.Certificate getCertificate( java.lang.String alias)
  2. 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

  1. java.lang.String getUserId()
Gets the user id used for the basic authentication.
Returns:
User id

getUserPassword

  1. char[] getUserPassword()
Gets the user password used for the basic authentication.
Returns:
User password

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