Configure key locators using the administrative console

 

Overview

This task provides instructions on how to configure key locators using the WebSphere Application Server administrative console. You can configure binding information in the administrative console. You must use the Assembly Toolkit to configure extensions. The following steps are used to configure a key locator in the administrative console for a specific application:

  1. Connect to the administrative console by typing http://localhost:9090/admin in your Web browser unless you have changed the port number.

  2. Click Applications > Enterprise Applications > application_name.

  3. Under Related Items, click either Web Modules or EJB Modules, depending on the type of module you are securing.

  4. Click the name of the module you are securing.

  5. Under Additional Properties, click either Web Services: Client Security Bindings or Web Services: Server Security Bindings, depending on whether you are adding the key locator to the client security bindings or to the server security bindings. If you do not see any entries, return to the Assembly Toolkit and configure the security extensions.

  6. Edit the Request Sender Binding, Response Receiver Binding, Request Receiver Binding, or Response Sender Binding.

  7. Click Key Locators.

  8. Click New to configure a new key locator, select the box next to a key locator name and click Delete to delete a key locator, or click the name of a key locator to edit its configuration.If you are configuring a new key locator or editing an existing one, complete the following steps:

    1. Specify a name for the key locator in the Key Locator Name field.

    2. Specify a name for the key locator class implementation in the Key Locator Classname field.WebSphere Application Server has the following default key locator class implementations:

      com.ibm.wsspi.wssecurity.config.WSldKeyStoreMapKeyLocator

      This class is used by the response sender to map an authenticated identity to a key. If encryption is used, this class is used to locate a key to encrypt the response message. The com.ibm.wsspi.wssecurity.config.WSldKeyStoreMapKeyLocator class has the capability to map an authenticated identity from the invocation credential of the current thread to a key that is used to encrypt the message. If an authenticated identity is present on the current thread, the class maps the ID to the mapped name. For example, user1 is mapped to mappedName_1. Otherwise, name="default". When a matching key is not found, the authenticated identity is mapped to the default key specified in the binding file.

      com.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator

      This class is used by the response receiver, the request sender, and the request receiver to map a name to an alias. Encryption uses this class to obtain a key to encrypt a message and digital signature uses this class to obtain a key to sign a message. The com.ibm.wsspi.wssecurity.config.KeyStoreKeyLocator class maps a logical name to a key alias in the key store file. For example, key #105115176771 maps to CN=Alice, O=IBM, C=US.

    3. Specify the password used to access the key store password in the Key Store Password field.This field is optional because the key locator does not use a key store.

    4. Specify the path name used to access the key store in the Key Store Path field.This field is optional because the key locator does not use a key store. Use ${USER_INSTALL_ROOT} because this path expands to the WebSphere Application Server path on your machine.

    5. Select a keystore type from the Key Store Type field. This field is optional because the key locator does not use a key store. Use the JKS option if you are not using Java Cryptography Extensions (JCE) and use JCEKS if you are using JCE.

Related concepts
Key locator
Related tasks
Securing Web services using XML digital signature
Configuring key locators using the Assembly Toolkit
Configuring server and cell level key locators using the administrative console
Configuring the client security bindings using the Assembly Toolkit
Configuring the security bindings on a server acting as a client using the administrative console
Configuring the server security bindings using the Assembly Toolkit
Configuring the server security bindings using the administrative console
Related topics
keytool - Key and Certificate Management Tool