Define JNDI bindings
You can define JNDI bindings for Web projects.
To define JNDI bindings for Web projects:
- In the Project Explorer view, expand the Dynamic Web Projects and select your web project.
- Expand your project name and double click on the Deployment Descriptor
- On the References page of the editor, in the References section, go to the WebSphere Bindings section.
- In the JNDI name field, type a JNDI name.
- 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.