<repository-service default-repository="repository">
   <repositories>

    <repository name="repository" system-workspace="production" default-workspace="production">
     <security-domain>exo-domain</security-domain>
     <access-control>optional</access-control>
     <!-- authentication-policy>org.exoplatform.services.jcr.impl.core.access.RemoteAuthenticationPolicy</authentication-policy -->
		 <authentication-policy>org.exoplatform.services.jcr.impl.core.access.JAASAuthenticator</authentication-policy>
     <workspaces>
       <workspace name="production" auto-init-root-nodetype="nt:unstructured">
          <container class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
            <properties>
              <property name="sourceName" value="jdbcjcr"/>
              <property name="multi-db" value="false"/>
            </properties>
          </container>
         <cache enabled="true">
          <properties>
            <property name="maxSize" value="5000"/>
            <property name="liveTime" value="30000"/>
          </properties>
         </cache>
         <query-handler class="org.exoplatform.services.jcr.impl.core.query.lucene.SearchIndex">
          <properties>
            <property name="indexDir" value="target/temp/index"/>
          </properties>
         </query-handler>
       </workspace>
       <workspace name="draft" auto-init-root-nodetype="nt:unstructured">
          <container class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
            <properties>
              <property name="sourceName" value="jdbcjcr"/>
              <property name="multi-db" value="false"/>
            </properties>
          </container>
         <cache enabled="true">
          <properties>
            <property name="maxSize" value="1000"/>
            <property name="liveTime" value="10000"/>
          </properties>
         </cache>
       </workspace>
       <workspace name="backup" auto-init-root-nodetype="nt:unstructured">
          <container class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
            <properties>
              <property name="sourceName" value="jdbcjcr"/>
              <property name="multi-db" value="false"/>
            </properties>
          </container>
         <cache enabled="false">
          <properties>
            <property name="maxSize" value="1000"/>
            <property name="liveTime" value="10000"/>
          </properties>
         </cache>
       </workspace>
       <workspace name="digital-assets" auto-init-root-nodetype="nt:folder">
          <container class="org.exoplatform.services.jcr.impl.storage.jdbc.JDBCWorkspaceDataContainer">
            <properties>
              <property name="sourceName" value="jdbcjcr"/>
              <property name="multi-db" value="false"/>
            </properties>
          </container>
          <cache enabled="true">
            <properties>
              <property name="maxSize" value="2500"/>
              <property name="liveTime" value="1800"/><!-- 30 min -->
            </properties>
          </cache>
        </workspace>
     </workspaces>
    </repository>
  </repositories>
</repository-service>
