com.ibm.wsspi.wssecurity.config

Class WSIdKeyStoreMapKeyLocator

  • All Implemented Interfaces:
    KeyLocator, Initializable

    Deprecated.

    public class WSIdKeyStoreMapKeyLocator
    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 Detail

      • WSIdKeyStoreMapKeyLocator

        public WSIdKeyStoreMapKeyLocator()
        Deprecated. 
    • Method Detail

      • getEncryptionKey

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

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