Define JNDI bindings

You can define JNDI bindings for Web projects.

To define JNDI bindings for Web projects:

  1. In the Project Explorer view, expand the Dynamic Web Projects and select your web project.

  2. Expand your project name and double click on the Deployment Descriptor

  3. On the References page of the editor, in the References section, go to the WebSphere Bindings section.

  4. In the JNDI name field, type a JNDI name.

  5. In the JAAS Login Configuration field, you may select Container Managed Authentication (Deprecated), or Use Default Method and supply an authentication Alias , or Use Custom Login Configuration and supply an authentication Alias .

For additional information on JNDI Setting, see the WebSphere Application Server documentation.