users@glassfish.java.net

Login Authentication

From: <glassfish_at_javadesktop.org>
Date: Mon, 09 Jun 2008 03:26:23 PDT

I am redeveloping an existing system and would like to streamline the work using glassfish.

The current application is built around external clients providing live data to a server (via sockets). This data is then stored in a database and pushed out to listening clients (also via sockets). The existing system has a Web interface with applets that connect to the server (again via sockets). Note that user permissions are confirmed for each connection which also provides filtering if a user may not access certain data types.

I would like to replace this system so that external clients instead talk to Session Beans (I want some sort of ID returned). Live data would then be passed onto a JMS Message Queue so that other clients may receive it.

SessionBeans have exactly the type of security permissions I'm looking for, and I have already created a proof of concept that uses the glassfish ProgrammaticLogin and a JAAS/JDBCRealm for external clients.

My problem is that I can't seem to confirm login details with the MQ Broker. I would like to reuse the JDBCRealm but I can't find any information about that. Looking into the MQ itself, it has some form of username/password access control and mapping, which I haven't been able to get working. My attempts to configure config.properties and accesscontrol.properties have also gotten nowhere as my changes mostly cause the broker to fallover.

Please can someone give me a few pointers on where to go from here, or at least tell me if what I'm trying to do is too bespoke. Thankyou in advance!
[Message sent by forum member 'robhamilton' (robhamilton)]

http://forums.java.net/jive/thread.jspa?messageID=279074