Versions Compared

Key

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

...

  <component name="LDAPConnection" subType="default" factoryName="aspire-ldap" enable="${enableLdapConnector}">
    <debug>false</debug>
    <server>ldap://ldapserver:389</server>
     <authentication>simple</authentication>
    <user>contoso\user</user>
    <password>XXXXX</password>
    <readTimeout>15s</readTimeout>
    <pageSize>100</pageSize>
    <retries>3</retries>
    <retryDelay>5s</retryDelay>
  </component>

Accessing LDAP

...

Connection from a Groovy component

If you may want to perform LDAP operations from Groovy components, you can use its public interface AspireLDAP to perform other operations.

For example, if you had installed an LDAP Connection component using the example configuration above, you could access if from a Groovy component as shown below:

...