Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
5.4.2
-
None
-
None
Description
Currently, PropertiesLoginModule will load users.properties and groups.properties files on every connection. While this is OK in most cases, in some (Stomp where connections come and go frequently) this can cause performance issues.
We should provide configuration parameter (reload=false which will make module to cache values of these files in memory.
The example config is here:
activemq-domain { org.apache.activemq.jaas.PropertiesLoginModule required debug=true reload=false org.apache.activemq.jaas.properties.user="org/apache/activemq/security/users.properties" org.apache.activemq.jaas.properties.group="org/apache/activemq/security/groups.properties"; };