diff options
author | Joakim Erdfelt <joakime@apache.org> | 2007-10-15 20:39:34 +0000 |
---|---|---|
committer | Joakim Erdfelt <joakime@apache.org> | 2007-10-15 20:39:34 +0000 |
commit | e77cf5da222c7faacc5aa625563456fd3e15eea6 (patch) | |
tree | 504f3d2cba48fae8a79bc25a03b6ebc071ab5f39 | |
parent | 912b15a3474696311b1e294dfc68b86a692e8bd7 (diff) | |
download | archiva-e77cf5da222c7faacc5aa625563456fd3e15eea6.tar.gz archiva-e77cf5da222c7faacc5aa625563456fd3e15eea6.zip |
[MRM-398] configure guest access by default for pre-configured repositories
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
-rw-r--r-- | archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/MockConfiguration.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/MockConfiguration.java b/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/MockConfiguration.java index 08e4d2740..32d3ee3a6 100644 --- a/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/MockConfiguration.java +++ b/archiva-base/archiva-proxy/src/test/java/org/apache/maven/archiva/proxy/MockConfiguration.java @@ -97,4 +97,9 @@ public class MockConfiguration { configListeners.remove( listener ); } + + public boolean isDefaulted() + { + return false; + } } |