Fix for file server ACL manager exception, added <aclDebug/> config value. ETHREEOH-2177.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14600 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gary Spencer
2009-06-09 11:08:29 +00:00
parent 679092f7e6
commit 343cc6502c

View File

@@ -2012,6 +2012,23 @@ public class ServerConfigurationBean extends AbstractServerConfigurationBean {
SecurityConfigSection secConfig = new SecurityConfigSection( this);
try
{
// Check if ACL manager debugging is enabled
GenericConfigElement params = new GenericConfigElement( "");
if ( config.getConfigElement("aclDebug") != null)
params.addChild( new GenericConfigElement("debug"));
// Use the default ACL manager
secConfig.setAccessControlManager( "org.alfresco.jlan.server.auth.acl.DefaultAccessControlManager", params);
}
catch ( Exception ex) {
throw new AlfrescoRuntimeException("Failed to set ACL manager", ex);
}
try
{
// Check if global access controls have been specified