LDAPEncryptionMethod
- Last Updated: October 15, 2025
- 1 minute read
- DataDirect Connectors
- JDBC
- Oracle Database 6.0
- Documentation
Purpose
Determines whether data is encrypted and decrypted when transmitted over the network between the driver and LDAP server.
Valid values
noEncryption | SSL
Behavior
If set to noEncryption, data is neither
encrypted nor decrypted.
If set to SSL, data is encrypted using
TLS/SSL. If the LDAP server does not support TLS/SSL, the connection fails and the
driver throws an exception.
Notes
- Connection hangs can occur when the driver is configured for TLS/SSL and the LDAP server does not support TLS/SSL. You may want to set a login timeout using the LDAPLoginTimeout property to avoid problems when connecting to a server that does not support SSL.
- To enable Oracle Advanced Security encryption, you can set the EncryptionLevel connection property.
Data source method
setLDAPEncryptionMethod
Default
noEncryption
Data type
String