Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2601

Implement a LDAP healthCheck

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ldap

      Description

      Implement a healthcheck for LDAP readonly User repository.

      Inject ReadOnlyUsersLDAPRepository in your health check.

      Test the existence of a random user in your healthcheck.

      • If a user or null is returned, then it means the LDAP is available
      • If a NamingException is thrown, then the LDAP is not available.

      Write basic test with a dockerized LDAP for your health check - you can pause it to simulate failure.

      Bind your health check in `server/container/guice/cassandra-ldap-guice/src/main/java/org/apache/james/data/LdapUsersRepositoryModule.java`

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              btellier Benoit Tellier
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: