mirror of https://github.com/apache/archiva.git
[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@584905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
05f78c6d42
commit
4914303c3d
|
@ -27,10 +27,7 @@ import org.codehaus.plexus.registry.RegistryException;
|
|||
import org.codehaus.plexus.registry.RegistryListener;
|
||||
import org.easymock.MockControl;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
|
@ -100,4 +97,9 @@ public class MockConfiguration
|
|||
{
|
||||
configListeners.remove( listener );
|
||||
}
|
||||
|
||||
public boolean isDefaulted()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue