Official Content

Sets or gets if LDAP authentication uses a secure (HTTPS) or unsecure (HTTP) protocol.


0 Unsecure (HTTP) protocol is used. This is the default value.
1 Secure (HTTPS) protocol is used.



Set protocol to be secure.

&LDAPVariable.Secure = 1


Extended Data Types: LDAPClient Data Type
Generators: .NET, Java

Java Notes

Make sure to import and add the server certificate in a Keystore file. The application server must reference the associated keystore and password; set the following properties in the application server:

See Also

LDAP Data Type
Authentication using LDAP


Last update: November 2023 | © GeneXus. All rights reserved. GeneXus Powered by Globant