Skip to end of metadata
Go to start of metadata
Icon

This package is not actively maintained, but it will be re-released once it has been reworked as time permits.

Gldapwrap - Usage

To use Gldapwrap, you need to make sure the Gldapwrap jar is in your classpath as well as the Spring LDAP jars (provided in the download). An easy way to do this is to to put the jars in ~/.groovy/lib/.

First thing you need to do is define a schema class. A schema class is just an ordinary POGO.

That's all you need to do to define a schema.

Next is to create a GldapwrapTemplate which is basically the details of the LDAP server you want to connect to.

Next you need to inject the template into your schema class.

Now you can do searches.

See Searching for more detail about searching.