MarkLogic 10 Product Documentation
sec.externalSecuritySetSamlAssertionHost

sec.externalSecuritySetSamlAssertionHost(
   external-security-name as String,
   saml-assertion-host as String?
) as null

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


    declareUpdate();
    const sec = require('/MarkLogic/security');


    sec.externalSecuritySetSamlAssertionHost(
          "samlConfig","my-load-balancer-host");
       
Powered by MarkLogic Server | Terms of Use | Privacy Policy