【问题标题】:Creating Read only access for ActiveMQ Web Console为 ActiveMQ Web 控制台创建只读访问权限
【发布时间】:2018-03-11 06:34:57
【问题描述】:

是否可以在 ActiveMQ Web 控制台中创建只读用户,我浏览了很多网站,但没有找到答案。

【问题讨论】:

    标签: web jetty activemq


    【解决方案1】:

    是的,您可以参考https://issues.apache.org/jira/browse/AMQ-5388 中提到的解决方法。如果您指的是 5.13.+,请在 jetty.xml 中进行更改,如下所示 sn-p

    <bean id="securityConstraintMapping" class="org.eclipse.jetty.security.ConstraintMapping">
        <property name="constraint" ref="securityConstraint" />
        <property name="pathSpec" value="/api/*,*.jsp" />
    </bean>
    

    已经进行了这些更改,并且能够拥有只有只读访问权限的用户。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-31
      • 2021-03-12
      • 1970-01-01
      相关资源
      最近更新 更多