[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjms-developer
Subject:    [openjms-developer] OpenJms and Security
From:       "Knut at work" <knut.lerpold () royalhighgate ! com>
Date:       2003-07-22 15:16:25
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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


[Attachment #5 (text/html)]

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have developed a solution for authentication of 
users in OpenJMS.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is just a very first 'shot' and&nbsp;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 :-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Limitations:</FONT></DIV>
<DIV><FONT face=Arial size=2>-By the time only&nbsp;authentication of 
user/password, nothing for Acl against Queue/Topic.</FONT></DIV>
<DIV><FONT face=Arial size=2>-username/password are beeing transferd from client 
to server in plaintext</FONT></DIV>
<DIV><FONT face=Arial size=2>-Only implemented for the 
TCP-connector</FONT></DIV>
<DIV><FONT face=Arial size=2>-Only impl. for RDBMS and tested against 
MySql</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The source is taken from the 
openjms-0.7.5-src.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Howto:</FONT></DIV>
<DIV><FONT face=Arial size=2>unpack openjms-0.7.5-src.zip</FONT></DIV>
<DIV><FONT face=Arial size=2>Unpack the src.zip to ../main/.. in 
openjms-0.7.5-src catalog</FONT></DIV>
<DIV><FONT face=Arial size=2>Unpack the config.zip to ../config in 
openjms-0.7.5-src catalog</FONT></DIV>
<DIV><FONT face=Arial size=2>and build.</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>Add suitable drivers for the DB</FONT></DIV>
<DIV><FONT face=Arial size=2>and run.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>openjms.xml</FONT></DIV>
<DIV><FONT face=Arial size=2>-------------------</FONT></DIV>
<DIV><FONT face=Arial size=2>if you set &lt;SecurityConfiguration 
enableSecurity="false"/&gt; openjms should behave ex. as before (i 
hope....)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Knut</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>

["src.zip" (application/x-zip-compressed)]
["config.zip" (application/x-zip-compressed)]
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
openjms-developer mailing list
openjms-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openjms-developer

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic