Database Reference
In-Depth Information
Figure 8-4. Example of the XML document for the eXist admin user
eXist has a dynamic configuration system, which means that when you modify user
or group information, the XML documents in the relevant collection are updated,
and vice versa; that is, if you were to modify these XML documents, the system would
load the changes to the users and groups immediately. Modifying these documents
directly is generally discouraged, as their syntax is subject to change at any time, and
any mistakes made in the syntax could upset the stability of the system or your ability
to access it. However, while this approach is not generally recommended, when used
carefully, it does provide a convenient mechanism for those accessing eXist via Web‐
DAV (see “WebDAV” on page 305 ) to create, modify, and delete users and groups sim‐
ply by adding, updating, or removing XML documents in these collections. Should
you opt for this approach, you must ensure that you do not change the id attribute of
an account or group, as these are internal pointers within eXist. In addition, if you
create a new account or group, you must be certain that you assign it the next free
account or group ID.
Using the APIs: XML-RPC, XML:DB, and SOAP
eXist has several APIs for programmatically connecting to the database remotely (or
even within an embedded JVM, if you're using XML:DB) and managing users and
groups. The use of these APIs is discussed more thoroughly in Chapter 13 .
 
Search WWH ::




Custom Search