Repository Configuration


The repository configuration file is an XML file that specifies the components and configuration of the content repository. Hippo Repository by default ships with a repository.xml configuration file. You only need to know about this configuration file if you need a non-default PersistenceManager, AccessManager, LoginModule or SearchIndex.

The standard repository configuration for Jackrabbit can be found at This document refers to that page for parts that are the same, and elaborates on those parts that are specific for Hippo Repository.

The repository configuration file consists of:

  1. FileSystem element 
  2. Security element
  3. Workspaces root directory element
  4. Workspace element
  5. Versioning element
  6. SearchIndex element

The configuration file has the following overall outline:

  <FileSystem class="...">...</FileSystem>
    <AccessManager class="...">...</AccessManager>
    [ <LoginModule class="...">...</LoginModule> ]
  <Workspaces rootPath="..." defaultWorkspace="..."/>
  <Workspace name="...">
    <FileSystem class="...">...</FileSystem>
    <PersistenceManager class="...">...</PersistenceManager>
    [ <SearchIndex class="..."> ...
    [ <FileSystem class="...">...</FileSystem> ] </SearchIndex> ]
  <Versioning rootPath="...">
    <FileSystem class="...">...</FileSystem>
    <PersistenceManager class="...">...</PersistenceManager>

The XML attribute values in the configuration file are interpreted as plain strings except for a few special variables, namely ${rep.home}, ${} and ${wsp.home}.

See the Jackrabbit documentation for more information.

FileSystem element

The virtual file system used by the repository to persist global state such as registered namespaces, custom node types, etc.

See the Jackrabbit documentation for more information.

Security element

The Security element specifies the name of the app-entry in the JAAS configuration and the access manager. Hippo Repository by default uses the following configuration:

  <Security appName="Jackrabbit">
    <SecurityManager class=""/>
    <AccessManager class=""/>
    <LoginModule class=""/>

See Authentication and Users for more information.

Workspaces element

Configures the location of the workspaces root directory and the name of the default workspace.

<Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default"/> 

Workspace element

The Workspace element is used as a template for separate workspace configuration files created for each new workspace.

See Workspace configuration for more information.

SearchIndex element

Search index for content that is shared repository wide (/jcr:system tree, contains mainly versions).

See Search Index configuration for more information.

Versioning element

Used for configuring versioning related settings.

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?