Security
To use the Enterprise Messaging Grid security facilities, you must specify a user name and password when you create the connection:
- Using the unified model:
Connection connection = connectionFactory.createConnection(username,password);
- Using the point to point domain:
QueueConnection queueConnection = queueConnectionFactory.createQueueConnection(username,password);
- Using the publish/subscribe domain:
TopicConnection topicConnection = topicConnectionFactory.createTopicConnection(username,password);
To use authentication, you must define a secured space with the same user/password.