]> source.dussan.org Git - archiva.git/commitdiff
[MRM-398] configure guest access by default for pre-configured repositories
authorJoakim Erdfelt <joakime@apache.org>
Mon, 15 Oct 2007 20:39:34 +0000 (20:39 +0000)
committerJoakim Erdfelt <joakime@apache.org>
Mon, 15 Oct 2007 20:39:34 +0000 (20:39 +0000)
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584903 13f79535-47bb-0310-9956-ffa450edef68

archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/MockConfiguration.java

index 08e4d274098c34e535c331fed735568f64c359e9..32d3ee3a6d79302b1bdfaa6d92efde67b4d4881d 100644 (file)
@@ -97,4 +97,9 @@ public class MockConfiguration
     {
         configListeners.remove( listener );
     }
+
+    public boolean isDefaulted()
+    {
+        return false;
+    }
 }