Sun Directory Server Enterprise Edition 7.0 Developer's Guide

ProcedureTo Configure Access When Using Application Server

After deploying the NameFinder application, Application Server creates a WEB-INF/ container directory that holds NameFinder files. The location of this directory depends on where you installed the Application Server instance.

You must specify in the WEB-INF/classes/ file how to access the directory that holds the data to retrieve.

  1. If necessary, determine the path where you deployed the NameFinder application with the Application Server browser-based interface.

    The WEB-INF/classes/ file is located in that directory.

  2. Become a user, such as superuser, with access to edit the file.

  3. Adjust properties in the WEB-INF/classes/ file to allow the application to access the directory, and then save your changes.

    The file is a Java properties file. Everything in the file is case sensitive. Adjust at least the following lines:

    • baseDN is the base DN for people's entries in your organization, such as ou=people,dc=example,dc=com.

    • serverList is a | separated list of directory servers, such as directory|backup-directory|

    • ldapPort is the port number on which the servers listen for LDAP requests, by default 389.

    • bindDN is the DN used to authenticate.

      Do not enclose the bind DN in quotes.

    • bindPassword is the password used to authenticate.

    For hints regarding what you can adjust, read the comments in the WEB-INF/classes/ file.

  4. In the Application Server browser-based interface, apply changes on the server instance by pressing the Apply Changes button.

    After applying changes, you can begin using the NameFinder application to look up contact and organizational information.

  5. Verify that the NameFinder application works by searching for a known user, such as yourself, using the browser-based interface.

    After you are satisfied that the NameFinder application works, you can choose to customize the application for your organization.