Tuesday, November 1, 2016

Override Alfresco Admin Console Directory Management Usage


Alfresco defines the Alfresco Admin Console as "an administrator's tool to manage your Alfresco configuration." It is important to know that if a user, with administrator privilege, enters or edits values in the Admin Console for such functions as Directory Management they are overriding the associated configuration files. A good example is the authentication settings that are traditionally found in the 'alfresco-global.properties' file or located in configuration files in the <alfresco-install-directory>/tomcat/shared/classes/alfresco/extension/subsystems/Authentication sub-directories. Once the configuration settings are saved using the Alfresco Admin Consol all future changes have to be made using the Admin Console since Alfresco will no longer read the contents of the configuration files.


But that does not seem right; there should be a way to go back to the configuration files overriding the entries in the Alfresco Admin Console. Well, there is. You can run the 'Revert' option via JMX in MBeans tab 'Alfresco > Configuration > Authentication > Manager > Operations > Revert' which will make Alfresco, once again, read authentication configurations through the properties files.


Screenshot showing the 'Revert' function: 



1 comment:

  1. The Alfresco Support Tools extension to the Admin Console supports JMX reversion as well via the web UI. See https://github.com/Alfresco/alfresco-support-tools for details.

    ReplyDelete