29.7. Changing the Security Domain


To change the security domain, add a securityDomainName property to the HornetQSecurityManager bean in hornetq-jboss-beans.xml.
The HornetQSecurityManager bean does not contain this property by default.

Example 29.3. HornetQSecurityManager bean

<!-- The security manager -->
<bean name="HornetQSecurityManager" class="org.hornetq.integration.jboss.security.JBossASSecurityManager">
   <start ignored="true"/>
   <stop ignored="true"/>
   <depends>JBossSecurityJNDIContextEstablishment</depends>
   <property name="allowClientLogin">false</property>
   <property name="authoriseOnClientLogin">false</property>
   <property name="securityDomainName">java:/jaas/hornetq</property>            
</bean>
Copy to Clipboard Toggle word wrap

1

The example above shows the securityDomainName property as it should be formatted, if used.
Note that the security domain shown in this example is the system default and will be used unless the securityDomainName parameter has been added with a different value.
Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat