Loading TOC...

sec:external-security-set-http-options

sec:external-security-set-http-options(
   $external-security-name as xs:string,
   $http-options as element()
) as empty-sequence()

Summary

This function sets the http options for the named SAML server configuration.

Parameters
external-security-name The name of the external security configuration.
http-options The http options to be set.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-http-options

Usage Notes

This function must be executed against the security database.

Example



xquery version "1.0-ml"; 
 
import module namespace sec = "http://marklogic.com/xdmp/security" 
      at "/MarkLogic/security.xqy";

sec:external-security-set-http-options("samlConfig",
  <sec:http-options xmlns="xdmp:http">
      <authentication method="digest">
         <username>admin</username>
         <password>admin</password>
       </authentication>
  </sec:http-options>) 
    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.