Database Reference
In-Depth Information
Figure 8-3. The dashboard User Manager app
Executing XQuery functions
eXist provides an XQuery module called the
Security Manager
. This module has
many functions that can be called from your own XQuery modules for programmati‐
cally managing security within the database; see
sm
.
Modifying the security collection
All user and group information in eXist is kept in a series of XML documents within
the database (see
Figure 8-4
). The system collection
/db/system/security
contains all
user and group configuration for all authentication realms known to eXist. The eXist
internal authentication realm stores its data in
/db/system/security/exist
, which has
two subcollections:
accounts
and
groups
. Unsurprisingly, each XML document in
these collections represents a single user or group within the system.
Search WWH ::
Custom Search