Loading TOC...

sec:external-security-set-saml-destination

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

Summary

This function updates the saml destination in the external security configuration.

Parameters
external-security-name The name of an external-security configuration.
saml-destination The URL for the Identity Provider to accept the authentication request.

Required Privileges

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

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-destination(
   "samlConfig",
   "https://server11.marklogic.com:9031/idp/SSO.saml3"
) 
    

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