MarkLogic Server 11.0 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:// .
|
Required Privileges
http://marklogic.com/xdmp/privileges/external-security-set-ldap-start-tls
Usage Notes
This function must be executed against the security database.
Example
declareUpdate();
const sec = require('/MarkLogic/security');
sec.externalSecuritySetLdapStartTls('ldapconfig', true);
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.