sec.externalSecuritySetSamlAssertionHost( external-security-name as String, saml-assertion-host as String? ) as null
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.
declareUpdate(); const sec = require('/MarkLogic/security'); sec.externalSecuritySetSamlAssertionHost( "samlConfig","my-load-balancer-host");