Official Content

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

Values

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

 

Example

Set protocol to be secure.

&LDAPVariable.Secure = 1

Scope

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:

-Djavax.net.ssl.trustStore=/tmp/keystoresample
-Djavax.net.ssl.trustStorePassword=MyPassword

See Also

LDAP Data Type
Authentication using LDAP

 







Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant