Interface DirContextConfig


public interface DirContextConfig
  • Method Details

    • url

      String url()
      The url of the ldap server
    • principal

      Optional<String> principal()
      The principal: user which is used to connect to ldap server (also named "bindDn")
    • password

      Optional<String> password()
      The password which belongs to the principal (also named "bindCredential")
    • referralMode

      @WithDefault("ignore") org.wildfly.security.auth.realm.ldap.DirContextFactory.ReferralMode referralMode()
      how ldap redirects are handled
    • connectTimeout

      @WithDefault("5s") Duration connectTimeout()
      The connect timeout
    • readTimeout

      @WithDefault("60s") Duration readTimeout()
      The read timeout
    • toString

      String toString()
      Overrides:
      toString in class Object