To ensure that the Fuse MQ Enterprise container is automatically secure after you install it, the default security settings have changed in version 7.0.2. By default in Fuse MQ Enterprise 7.0.2, none of the container's services are remotely accessible.
The following ports and services are affected by this security change:
SSH console port (remote administration).
JMX port.
Apache ActiveMQ JMS broker.
Apache ActiveMQ Web console.
If you deploy any routes that connect to the internal Apache ActiveMQ broker, you must change the configuration of the ConnectionFactory so that it is defined with a username and a password. This is necessary, because the Apache ActiveMQ broker is now secure by default.
For example, in Spring XML you could configure the Camel ActiveMQ component as follows:
<beans ... >
...
<bean id="activemq"
class="org.apache.activemq.camel.component.ActiveMQComponent">
<property name="brokerURL" value="tcp://localhost:61616"/>
<property name="userName" value="Username"/>
<property name="password" value="Password"/>
</bean>
...
</beans>Where the and
Username are the credentials of a JAAS user with
Passwordadmin privileges.
![]() | Note |
|---|---|
If you want to revert to using an insecure broker (similar to versions prior to 7.0.2), see Disabling Broker Security in Managing and Monitoring a Broker for instructions on how to disable JAAS authentication in the broker. |
When migrating your applications to a fresh installation of a Fuse MQ Enterprise 7.0.2 container, you should perform the following steps to configure security on the container:
Configure JAAS security in the
file to have at least one user entry withInstallDir/etc/users.propertiesadminprivileges . Each user entry is defined on its own line and has the following format:Username=Password,adminWhere the
adminrole gives this user the privileges to access all administration and management functions of the container.Edit the
file and modify theInstallDir/etc/system.propertieswebconsole.jmx.*andwebconsole.jms.*properties as follows:webconsole.jmx.user=
Usernamewebconsole.jmx.password=Passwordwebconsole.jms.user=Usernamewebconsole.jms.password=PasswordWhere the
andUsernameare the credentials of a JAAS user withPasswordadminprivileges.
For more details about these security changes, see Security Basics in Managing and Monitoring a Broker.






![[Note]](imagesdb/note.gif)

