LDAP Service

Sometimes you want components or Groovy Scripts to be able to access LDAP. When you create these components or scripts, you could just put some code in there to do exactly that, but this has a couple of disadvantages:

  • You end up with repeated code
    • So any bugs you get have to be fixed in several places.
  • If you change the password of the user used to access LDAP, you have to update this in multiple places.
    • Which is just an administrative pain

In Aspire, components or scripts can access other components (see here for more details. The LDAP Service installs a component, that can be accessed by any number of other components and provides services via the Aspire LDAP Interface.

This way, you have a single code base giving access to the most common LDAP functionality and a single point of configuration

  • No labels