activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adrianbro <adrian...@gmail.com>
Subject Re: ACL Question
Date Fri, 10 Jul 2015 09:14:22 GMT
I have included the full apollo.xml just for clarity

<broker xmlns="http://activemq.apache.org/schema/activemq/apollo">

  <notes>
    The default configuration with tls/ssl enabled.
  </notes>

  <log_category console="console" security="security"
connection="connection" audit="audit"/>

  
  <authentication domain="apollo"/>
 
<user_principal_kind>org.apache.activemq.jaas.UserPrincipal</user_principal_kind>
 
<acl_principal_kind>org.apache.activemq.jaas.GroupPrincipal</acl_principal_kind>
  
  <access_rule allow="admins" action="*"/>
  <access_rule allow="*" action="connect" kind="connector"/>
  

  <virtual_host id="mybroker">
    
    <host_name>mybroker</host_name>
    <host_name>localhost</host_name>
    <host_name>127.0.0.1</host_name>

    
    

    
    
  <authentication domain="apollo"/>
  
<user_principal_kind>org.apache.activemq.jaas.UserPrincipal</user_principal_kind>
  
<acl_principal_kind>org.apache.activemq.jaas.GroupPrincipal</acl_principal_kind>
   
   <access_rule allow="users" action="connect destroy receive consume"
principal_kind="*"/>
   <access_rule allow="users1" action="connect destroy create send receive
consume" principal_kind="*"/>

    
    <leveldb_store directory="${apollo.base}/data"/>
    

  </virtual_host>

  <web_admin bind="http://127.0.0.1:61680"/>
  <web_admin bind="https://0.0.0.0:61681"/>

  <connector id="tcp" bind="tcp://0.0.0.0:1883" connection_limit="2000"/>
  <connector id="tls" bind="tls://0.0.0.0:61614" connection_limit="2000"/>
  <connector id="ws"  bind="ws://0.0.0.0:61623"  connection_limit="2000"/>
  <connector id="wss" bind="wss://0.0.0.0:61624" connection_limit="2000"/>

  <key_storage file="${apollo.base}/etc/keystore" password="password"
key_password="password"/>

</broker>



--
View this message in context: http://activemq.2283324.n4.nabble.com/ACL-Question-tp4699005p4699006.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message