]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.server.repo/repository-pg-java.xml
Adapt to changes in Commons Security
[gpl/argeo-slc.git] / org.argeo.slc.server.repo / repository-pg-java.xml
index ff600c99a7f72d9d0cc987d6c2143783ae0b36b2..38326255f7ecbf196c7a7cda44059949e22dc414 100644 (file)
@@ -1,6 +1,5 @@
 <?xml version="1.0"?>
-<!DOCTYPE Repository PUBLIC "-//The Apache Software Foundation//DTD Jackrabbit 1.6//EN"
-                            "http://jackrabbit.apache.org/dtd/repository-2.0.dtd">
+<!DOCTYPE Repository PUBLIC "Jackrabbit 2.6" "http://jackrabbit.apache.org/dtd/repository-2.6.dtd">
 <Repository>
        <!-- Shared datasource -->
        <DataSources>
                <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
                        <param name="path" value="${rep.home}/indexes/workspaces/${wsp.name}" />
                </SearchIndex>
+               <WorkspaceSecurity>
+                       <AccessControlProvider
+                               class="org.argeo.security.jackrabbit.ArgeoAccessControlProvider">
+                               <param name="allow-unknown-principals" value="true" />
+                       </AccessControlProvider>
+               </WorkspaceSecurity>
        </Workspace>
 
        <!-- Versioning -->
@@ -69,7 +74,5 @@
                </SecurityManager>
                <AccessManager class="org.argeo.security.jackrabbit.ArgeoAccessManager">
                </AccessManager>
-               <LoginModule class="org.argeo.security.jackrabbit.ArgeoLoginModule">
-               </LoginModule>
        </Security>
 </Repository>
\ No newline at end of file