MarkLogic 9 Product Documentation
sec.externalSecuritySetLdapStartTlssec.externalSecuritySetLdapStartTls(
external-security-name as String,
[ldap-start-tls as Boolean?]
) as null
Summary
This function updates the ldap-start-tls
setting in the external security configuration.
Parameters |
external-security-name |
The name of an external-security configuration.
|
ldap-start-tls |
When the ldap-bind-method is set to external , this
parameter specifies whether to start TLS when connecting to an LDAP server. If set to true,
the LDAP server URI should start with ldap:/ instead of ldaps:// .
|
Example
declareUpdate();
const sec = require('/MarkLogic/security');
sec.externalSecuritySetLdapStartTls('ldapconfig', true);
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.