sec:external-security-set-http-options( $external-security-name as xs:string, $http-options as element() ) as empty-sequence()
This function sets the http options for the named SAML server configuration.
Parameters | |
---|---|
external-security-name | The name of the external security configuration. |
http-options | The http options to be set. |
xquery version "1.0-ml"; import module namespace sec = "http://marklogic.com/xdmp/security" at "/MarkLogic/security.xqy"; sec:external-security-set-http-options("samlConfig", <sec:http-options xmlns="xdmp:http"> <authentication method="digest"> <username>admin</username> <password>admin</password> </authentication> </sec:http-options>)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.