mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Removed list based access from the config service
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2874 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -23,6 +23,7 @@ import java.net.Socket;
|
|||||||
import java.net.UnknownHostException;
|
import java.net.UnknownHostException;
|
||||||
import java.security.Provider;
|
import java.security.Provider;
|
||||||
import java.security.Security;
|
import java.security.Security;
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.EnumSet;
|
import java.util.EnumSet;
|
||||||
import java.util.Enumeration;
|
import java.util.Enumeration;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -1430,7 +1431,15 @@ public class ServerConfiguration implements ApplicationListener
|
|||||||
{
|
{
|
||||||
// Check for the old style configuration
|
// Check for the old style configuration
|
||||||
|
|
||||||
filesysElems = config.getConfigElementList( "filesystem");
|
ConfigElement filesysElem = config.getConfigElement( "filesystem");
|
||||||
|
|
||||||
|
if (filesysElem != null)
|
||||||
|
{
|
||||||
|
// create a list with the single filesys element in
|
||||||
|
|
||||||
|
filesysElems = new ArrayList<ConfigElement>(1);
|
||||||
|
filesysElems.add(filesysElem);
|
||||||
|
}
|
||||||
|
|
||||||
// Warn that the configuration is using the old format
|
// Warn that the configuration is using the old format
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user