Class LdapConnectionConfig
java.lang.Object
de.xima.fc.ldap.LdapConnectionConfig
- All Implemented Interfaces:
Serializable
Model representing the configuration for an LDAP connection.
- Since:
- 8.5.0
- Author:
- Norman Lorenz
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final class -
Method Summary
Modifier and TypeMethodDescriptionstatic LdapConnectionConfig.Builderbuilder()boolean(Optional) Returns the bind DN (Distinguished Name).(Optional) Returns the bind password.Returns the referral hop count for the connection.getHost()Returns the LDAP server host.intgetPort()Returns the LDAP server port.Returns the TLS scope for the connection.inthashCode()booleanisUseTls()Indicates whether TLS/SSL is used for the connection.toString()
-
Method Details
-
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 casegetTlsScope()must not return null.- Returns:
- True if TLS/SSL is used, false otherwise.
- See Also:
-
builder
-
getHost
Returns the LDAP server host. -
getPort
public int getPort()Returns the LDAP server port. -
getBindDN
(Optional) Returns the bind DN (Distinguished Name). -
getBindPassword
(Optional) Returns the bind password. -
getHopCount
Returns the referral hop count for the connection. -
getTlsScope
Returns the TLS scope for the connection. This is only relevant ifisUseTls()returns true.- See Also:
-
equals
-
hashCode
-
toString
-