
sec:external-security-set-ldap-certificate( $external-security-name as xs:string, $ldap-certificate as xs:string, $ldap-private-key as xs:string ) as empty-sequence()
This function sets the LDAP certificate and private key for the named external security configuration.
http://marklogic.com/xdmp/privileges/external-security-set-ldap-certificateThis function must be executed against the security database.
xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";
sec:external-security-set-ldap-certificate(
       "My-External-Security", 
       sec:external-security-get-ldap-certificate("My-External-Security")
       sec:external-security-get-ldap-private-key("My-External-Security") 
)
 
    
  
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.