MarkLogic 10 Product Documentation
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.

Required Privileges

http://marklogic.com/xdmp/privileges/external-security-set-saml-assertion-host

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-saml-assertion-host(
      "samlConfig","my-load-balancer-host")


    
Powered by MarkLogic Server | Terms of Use | Privacy Policy