A RESTful browser for eXist Java-Based Function Modules


http://exist-db.org/xquery/xmldb
A module for database manipulation functions.

xmldb:authenticate($collection-uri as xs:string, $user-id as xs:string?, $password as xs:string?) xs:boolean
Check if the user, $user-id, can authenticate against the database collection $collection-uri. The function simply tries to read the collection $collection-uri, using the credentials $user-id and $password. It returns true if the authentication succeeds, false otherwise.
$collection-uriThe collection URI
$user-idThe user-id
$passwordThe password

Returns true() on successful authentication, false() otherwise
Return to list of all modules