Show Table of Contents
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>
|
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.
|

</bean>
Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.