Parses repository configuration. Repository configuration uses the
following format:
<Repository>
<FileSystem ...>
<Security appName="...">
<SecurityManager ...>
<AccessManager ...>
<LoginModule ... (optional)>
</Security>
<Workspaces rootPath="..." defaultWorkspace="..."/>
<Workspace ...>
<Versioning ...>
</Repository>
The FileSystem
element is a
#parseBeanConfig(Element,String) element,
that specifies the file system implementation for storing global
repository information. The Security
element contains
an AccessManager
bean configuration element and the
JAAS name of the repository application. The Workspaces
element contains general workspace parameters, and the
Workspace
element is a template for the individual
workspace configuration files. The Versioning
element
contains
#parseVersioningConfig(Element) for
the repository.
In addition to the configured information, the returned repository
configuration object also contains the repository home directory path
that is given as the ${rep.home} parser variable. Note that the
variable must be available for the configuration document to
be correctly parsed.
#replaceVariables(String) is performed
on the security application name attribute, the general workspace
configuration attributes, and on the file system, access manager,
and versioning configuration information.
Note that the returned repository configuration object has not been
initialized.