Enable PropertiesLoginModule JAAS module to optionally cache values in memory
-----------------------------------------------------------------------------

                 Key: AMQ-3244
                 URL: https://issues.apache.org/jira/browse/AMQ-3244
             Project: ActiveMQ
          Issue Type: Improvement
    Affects Versions: 5.4.2
            Reporter: Dejan Bosanac
             Fix For: 5.5.0


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:

{code}
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";
};
{code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to