HornetQ Security Configuration: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 11: Line 11:
</blockquote>
</blockquote>


This behavior can be disabled in configuration. For details see [[]] below.
This behavior can be disabled in configuration. For details see [[#Disabling_Security|Disabling Security]] below.


=Disabling Security=
=Disabling Security=

Revision as of 05:04, 18 March 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>