OpenJms and Security
"Knut at work" <knut.lerpold-Y0ltV1YbkABUXjr8k6HNnAC/[email protected]>
| Newsgroups | gmane.comp.java.openjms.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello! I have developed a solution for authentication of users in OpenJMS. This is just a very first 'shot' and I would be pleased if any of you guys who knows the code would be so kind to have a look. I have only studied the source for a couple of days so maybe ive choosed some stupid solutions :-) Limitations: -By the time only authentication of user/password, nothing for Acl against Queue/Topic. -username/password are beeing transferd from client to server in plaintext -Only implemented for the TCP-connector -Only impl. for RDBMS and tested against MySql The source is taken from the openjms-0.7.5-src. Howto: unpack openjms-0.7.5-src.zip Unpack the src.zip to ../main/.. in openjms-0.7.5-src catalog Unpack the config.zip to ../config in openjms-0.7.5-src catalog and build. Add suitable drivers for the DB and run. openjms.xml ------------------- if you set <SecurityConfiguration enableSecurity="false"/> openjms should behave ex. as before (i hope....) Knut
src.zip
(application/x-zip-compressed, 95.5 KB) - not displayed
config.zip
(application/x-zip-compressed, 1.4 KB) - not displayed