com.ibm.wsspi.wssecurity.config

Class WSIdKeyStoreMapKeyLocator

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator
  3. extended bycom.ibm.wsspi.wssecurity.config.WSIdKeyStoreMapKeyLocator
All implemented interfaces:
KeyLocator, Initializable

Deprecated.
  1. public class WSIdKeyStoreMapKeyLocator
  2. extends KeyStoreKeyLocator
Maps the authenticated ID in WAS to the actual key in KeyStore object.

In addition to the properties specified in KeyStoreKeyLocator, this class accepts two kinds of properties: id_n and mappedName_n where n is an integer. The former represents the authenticated ID and the latter represents the abstract key "name" which is also specified in KeyStoreKeyLocator.


Constructor Summary

Constructor and Description
WSIdKeyStoreMapKeyLocator()
Deprecated.

Method Summary

Modifier and Type Method and Description
  1. java.security.cert.Certificate
getCertificate(java.lang.String name)
Deprecated. Retrieves the certificate which corresponds to the authenticated ID.
  1. java.security.Key
getEncryptionKey(java.lang.String name,java.lang.Object context)
Deprecated. Retrieves the encryption key which corresponds to the authenticated ID.
  1. void
init(java.util.Map map)
Deprecated. Initializes the object.
Methods inherited from class com.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator
doInit, encodedName, getCertificate, getConfidentialKey, getDecryptionKey, getDefaultBasePath, getName, getName, getNames, getSigningKey, getVerificationKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

WSIdKeyStoreMapKeyLocator

  1. public WSIdKeyStoreMapKeyLocator( )
Deprecated.

Method Detail

init

  1. public void init(java.util.Map map)
  2. throws SoapSecurityException
Deprecated.
Description copied from interface: Initializable
Initializes the object.
Specified by:
init in interface Initializable
Overrides:
Parameters:
map - a Map object which contains name-value pairs. These pairs are specified in <Property> elements in the configuration XMI files.
Throws:

getEncryptionKey

  1. public java.security.Key getEncryptionKey( java.lang.String name,
  2. java.lang.Object context)
  3. throws KeyLocatorException
Deprecated.
Retrieves the encryption key which corresponds to the authenticated ID.
Specified by:
Overrides:
Parameters:
name - Ignored because the key are retrieved according to the authentication information.
context - Reserved for the future use.
Returns:
An encryption key.
Throws:

getCertificate

  1. public java.security.cert.Certificate getCertificate( java.lang.String name)
  2. throws KeyLocatorException
Deprecated.
Retrieves the certificate which corresponds to the authenticated ID.
Specified by:
getCertificate in interface KeyLocator
Overrides:
Parameters:
name - ignored because the key are retrieved according to the authentication information.
Returns:
A certificate object.
Throws: