sec:external-security-set-saml-assertion-host( $external-security-name as xs:string, $saml-assertion-host as xs:string? ) as empty-sequence()
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. |
http://marklogic.com/xdmp/privileges/external-security-set-saml-assertion-host
This 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-saml-assertion-host( "samlConfig","my-load-balancer-host")