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.
|