
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. |
http://marklogic.com/xdmp/privileges/external-security-set-http-optionsThis 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-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.