#12 documentation for security feature

open
5
2004-02-09
2004-02-09
No

Since I missed the description on the website I got the
following
proposal:
Inserting the following into
http://openjms.sourceforge.net/usersguide/connectors.html
-----------------------
To use the security feature
(http://openjms.sourceforge.net/config/security.html)
of OpenJMS create the connections with the
user/password settings you specified in the OpenJMS.xml.

//load the properties, including the user and password
properties.load(new FileInputStream(JMS_PROPERTIES_FILE));
String user = properties.getProperty("jms.myuser");
String password = properties.getProperty("jms.mypassword");
[...]
TopicConnection topicCon =
topicConnectionFactory.createTopicConnection(user,
password); [...] JmsAdminServerIfc admin =
AdminConnectionFactory.create(url, user,
password);
------------------------
And link to it from the
http://openjms.sourceforge.net/config/security.html page.
there should also be a link to the new shutting down
with user and password
(http://openjms.sourceforge.net/adminguide/running.html)

Thx.

Discussion


Log in to post a comment.