Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{scrollbar}

Anchor
top
top

This sample shows how you can use a Lightweight Directory Access Protocol (LDAP) server to configure and control access to resources on your Geronimo server.

There are two routes to running this sample. You can either use the Geronimo plugin 1.0 to the Apache Directory Service 1.5.1 or you can use an external LDAP server.

This pluging is stored in the Geromino repository. Geronimo uses the Apache Directory Server for its directory service, this is part of the Apache Directory Project. Geronimo implements the following two projects from the ApacheDS project.

...

More information about these two projects can be found at the ApacheDS project URL:
http://directory.apache.org/subprojects/apacheds/projects/index.html

At this point in time, the Geronimo plugin only provides LDAP viewing capabilities, editing is not there yet but adding this feature is in plan for the next releases of Geronimo. You will have to use an external LDAP client such as ldapbrowser/editor, jxplorer or gq for editing the configurations of the Directory Server in Geronimo.

The other alternative is to use Geronimo with an external LDAP server. For example, you may download Apache Directory Service binary, start the ldap server and load it up with the ldap-sample.ldif givenand follow the rest of the sample instructions.

This article is organized in the following sections:

Table of Contents
maxLevel3

Starting the LDAP server

In this release of Geronimo, the Apache Directory v0.92 is already included with the distribution although it is not started by default. You can either start the Geronimo LDAP server plugin from command line using the deployer tool or via the Geronimo Administration Console.

...

Alternatively, if you are building you own custom version of Geronimo you can install Apache Directory later on via Geronimo pluginsusing an external LDAP server, start that server in the normal manner and follow the remaining instructions here.

LDAP sample application

For your convenience we have provided the sample application and deployment plans packaged into a zip file.
Download the sample application from the following URL:

...