Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

While the first point promises some performance advantages, which are irrelevant in most situations (because LDAP servers like ApacheDS are optimized for read operations anyway), the second reason makes this approach a good option for development environments.

Current state

I have started a Realm implementation. A first version (proof of concepts) The current implementation of the realm has started as a proof of concept, but already works quite well. I have committed You can find the sources here as a Maven2 project:

https://svn.apache.org/repos/asf/directory/sandbox/szoerner/apacheds-tomcatrealm

It is not an official artifact of Apache Directory yet. Although if some people are interested, it soon can be. In the meantime, there are no official releases etc.

How to build it

How to enable and configure it

Activation in Tomcat server.xml is simply

Code Block

<Realm className="org.apache.directory.tomcatrealm.EmbeddedApacheDsRealm" />

within the context the realm is intended to act.

How to use it

It builds a jar file which contains the Realm class. In order to use it, one has to copy it to the Tomcat server lib directory, along with the required ApacheDS and dependency jars.

...