Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Gldapwrap - Usage

Icon

All Gldapwrap classes are in the gldapwrap.* namespace.

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.

  • No labels