This closes #1859
This commit is contained in:
commit
8b46024181
|
@ -3103,6 +3103,7 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
|||
|
||||
@Override
|
||||
public void reload(URL uri) throws Exception {
|
||||
if (isActive()) {
|
||||
Configuration config = new FileConfigurationParser().parseMainConfig(uri.openStream());
|
||||
ActiveMQServerLogger.LOGGER.reloadingConfiguration("security");
|
||||
securityRepository.swap(config.getSecurityRoles().entrySet());
|
||||
|
@ -3119,5 +3120,6 @@ public class ActiveMQServerImpl implements ActiveMQServer {
|
|||
undeployAddressesAndQueueNotInConfiguration(config);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue