HornetQ Security Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * WildFly Messaging Subsystem Configuration")
 
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[WildFly HornetQ-Based Messaging Subsystem Configuration#Subjects|WildFly Messaging Subsystem Configuration]]
* [[WildFly HornetQ-Based Messaging Subsystem Configuration#Subjects|WildFly Messaging Subsystem Configuration]]
=Overview=
By default, security is enabled and ConnectionFactories must specify a username and a password to establish connections. For more on security concepts, see:
<blockquote style="background-color: #f9f9f9; border: solid thin lightgrey;">
:[[WildFly_HornetQ-Based_Messaging_Subsystem_Concepts#Security|HornetQ Security Concepts]]
</blockquote>
This behavior can be disabled in configuration. For details see [[#Disabling_Security|Disabling Security]] below.
=Disabling Security=
By default, HornetQ requires a username and a password to be specified when creating a connection. This behavior can be disabled, and anonymous connections can be created, by turning "security-enabled" to false:
<pre>
<subsystem xmlns="urn:jboss:domain:messaging:1.4">
  <hornetq-server>
    ...
    <security-enabled>false</security-enabled>
    ...
  </hornetq-server>
</subsystem>
</pre>

Latest revision as of 16:58, 3 April 2017

Internal

Overview

By default, security is enabled and ConnectionFactories must specify a username and a password to establish connections. For more on security concepts, see:

HornetQ Security Concepts

This behavior can be disabled in configuration. For details see Disabling Security below.

Disabling Security

By default, HornetQ requires a username and a password to be specified when creating a connection. This behavior can be disabled, and anonymous connections can be created, by turning "security-enabled" to false:

<subsystem xmlns="urn:jboss:domain:messaging:1.4">
  <hornetq-server>
    ...
    <security-enabled>false</security-enabled>
    ...
  </hornetq-server>
</subsystem>