Loading TOC...

sec:external-security-set-saml-assertion-host

sec:external-security-set-saml-assertion-host(
   $external-security-name as xs:string,
   $saml-assertion-host as xs:string?
) as empty-sequence()

Summary

This function sets the SAML assertion host in the SAML configuration. This should be used if MarkLogic cluster is behind a load balancer. It should be set to the hostname of the load balancer.

Parameters
$external-security-name The name of the external security configuration.
$saml-assertion-host The name of the SAML assertion host.

Example



xquery version "1.0-ml";

import module namespace sec = "http://marklogic.com/xdmp/security"
      at "/MarkLogic/security.xqy";

sec:external-security-set-saml-assertion-host(
      "samlConfig","my-load-balancer-host")


    

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