users.properties
我正在使用 ActiveMQ Classic,并通过更新ActiveMQ 安装中的文件的服务动态加载用户。我使用org.apache.activemq.jaas.PropertiesLoginModule
withreload=true
来达到此目的。
我现在想添加一个单独的用户列表。我找不到任何关于加载多个域名的文档。
我的login.config
:
users {
org.apache.activemq.jaas.PropertiesLoginModule required
debug=True
org.apache.activemq.jaas.properties.user="users.properties"
org.apache.activemq.jaas.properties.group="groups.properties"
reload=true;
};
admins {
org.apache.activemq.jaas.PropertiesLoginModule required
debug=True
org.apache.activemq.jaas.properties.user="admins.properties"
org.apache.activemq.jaas.properties.group="admin_groups.properties";
};
在我的中activemq.xml
,我的外观应该是什么jaasAuthenticationPlugin
样的?