ActiveMQ authorization

后端 未结 2 874
别那么骄傲
别那么骄傲 2021-01-01 05:14

If I want to implement JAAS authorization on Apache ActiveMQ, do I have to use the plug-in in the activemq.xml configuration file?

This way is really NOT good becaus

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-01 05:40

    Whenever I have set up ActiveMQ security, I have found it best to use the plain AuthorizationPlugin with wildcards that denote the destinations covered (which is why it's really handy to use naming conventions fro your queues and topics). The idea is that you define a handful of user groups and grant them access to those destinations.

    The role of assigning a group from a username is handled by one of the authentication plugins - the JAAS plugin is particularly useful for externalising this information outside the ActiveMQ config in an LDAP directory.

    Check out the ActiveMQ Security Guide from FuseSource (registration required) for further information.

    Update 2018-07-02 ActiveMQ Security Guide, now located on redhat.

提交回复
热议问题