You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by ctzlylc <ct...@163.com> on 2015/09/22 05:38:49 UTC

ActiveMQ:About Encrypted passwords

In the description about Encrypted passwords, Note like this"*It is
recommended that you use only alphanumeric characters for the password.
Special characters, such as $/^&, are not supported*."
In fact,we can use complex password which include special characters, such
as !@#$%,and we can use it to get connect with ActiveMQ Server.
So,what is mean about the note?

<code>
		connectionFactory = new ActiveMQConnectionFactory(
				"admin",
				"Admin!@#$", "tcp://localhost:61616");
		try { 
			connection = connectionFactory.createConnection();

			connection.start();

			session = connection.createSession(Boolean.TRUE,
					Session.AUTO_ACKNOWLEDGE);

			destination = session.createQueue("FirstQueue");
</code>


credentials.properties:
activemq.username=admin
activemq.password=Admin!@#$
guest.password=password



--
View this message in context: http://activemq.2283324.n4.nabble.com/ActiveMQ-About-Encrypted-passwords-tp4702167.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.