Interface LDAPClientConfiguration


public interface LDAPClientConfiguration

LDAP client configuration.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • uri

      default URI uri()

      The LDAP server URI (e.g. ldap://<host>:<port>/...

      Defaults to ldap://localhost:1389.

      Returns:
      a URI
    • authentication

      default String authentication()

      The authentication choice.

      Defaults to simple

      Returns:
      the authentication choice
    • referral

      Indicates whether to follow referrals, ignore them or raise exceptions.

      Defaults to LDAPClientConfiguration.ReferralPolicy.FOLLOW.

      Returns:
      the referral policy
    • admin_dn

      String admin_dn()

      The admin user DN;

      Returns:
      the admin user DN
    • admin_credentials

      String admin_credentials()

      The admin user credentials.

      Returns:
      admin credentials