Class LdapConnectionConfig

  • All Implemented Interfaces:
    Serializable

    public final class LdapConnectionConfig
    extends Object
    implements Serializable
    Model representing the configuration for an LDAP connection.
    Since:
    8.5.0
    Author:
    Norman Lorenz
    See Also:
    Serialized Form
    • Method Detail

      • isUseTls

        public boolean isUseTls()
        Indicates whether TLS/SSL is used for the connection. If true, the connection will be established using TLS/SSL. In this case getTlsScope() must not return null.
        Returns:
        True if TLS/SSL is used, false otherwise.
        See Also:
        getTlsScope()
      • getHost

        public String getHost()
        Returns the LDAP server host.
      • getPort

        public int getPort()
        Returns the LDAP server port.
      • getBindDN

        @Nullable
        public String getBindDN()
        (Optional) Returns the bind DN (Distinguished Name).
      • getBindPassword

        @Nullable
        public String getBindPassword()
        (Optional) Returns the bind password.
      • getHopCount

        @Nullable
        public Integer getHopCount()
        Returns the referral hop count for the connection.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object