mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -2012,6 +2012,23 @@ public class ServerConfigurationBean extends AbstractServerConfigurationBean {
|
|||||||
|
|
||||||
SecurityConfigSection secConfig = new SecurityConfigSection( this);
|
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
|
try
|
||||||
{
|
{
|
||||||
// Check if global access controls have been specified
|
// Check if global access controls have been specified
|
||||||
|
Reference in New Issue
Block a user