summaryrefslogtreecommitdiff
path: root/qpid/java/broker/etc/config.xml
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/broker/etc/config.xml')
-rw-r--r--qpid/java/broker/etc/config.xml20
1 files changed, 14 insertions, 6 deletions
diff --git a/qpid/java/broker/etc/config.xml b/qpid/java/broker/etc/config.xml
index 3789e6fcb6..c66c2f632e 100644
--- a/qpid/java/broker/etc/config.xml
+++ b/qpid/java/broker/etc/config.xml
@@ -41,6 +41,8 @@
</connector>
<management>
<enabled>true</enabled>
+ <jmxport>8999</jmxport>
+ <security-enabled>true</security-enabled>
</management>
<advanced>
<filterchain enableExecutorPool="true"/>
@@ -63,13 +65,14 @@
</attributes>
</principal-database>
- <!--principal-database>
- <name>md5passwordfile</name>
- <class>org.apache.qpid.server.security.auth.database.MD5PasswordFilePrincipalDatabase</class>
+ <!-- Example use of Base64 encoded MD5 hashes for authentication via CRAM-MD5-Hashed
+ <principal-database>
+ <name>passwordfile</name>
+ <class>org.apache.qpid.server.security.auth.database.Base64MD5PasswordFilePrincipalDatabase</class>
<attributes>
<attribute>
<name>passwordFile</name>
- <value>${conf}/md5passwd</value>
+ <value>${conf}/qpid.passwd</value>
</attribute>
</attributes>
</principal-database-->
@@ -78,6 +81,10 @@
<access>
<class>org.apache.qpid.server.security.access.AllowAll</class>
</access>
+ <jmx>
+ <access>${conf}/jmxremote.access</access>
+ <principal-database>passwordfile</principal-database>
+ </jmx>
</security>
<virtualhosts>
@@ -85,9 +92,10 @@
<name>localhost</name>
<localhost>
<store>
- <!-- <class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class> -->
+ <!-- <class>org.apache.qpid.server.store.berkeleydb.BDBMessageStore</class>
+ <environment-path>${work}/localhost-store</environment-path> -->
+
<class>org.apache.qpid.server.store.MemoryMessageStore</class>
- <environment-path>localhost-store</environment-path>
</store>
<security>