users@glassfish.java.net

Re: Custom Login with groups stored in a database

From: <glassfish_at_javadesktop.org>
Date: Thu, 05 Mar 2009 10:28:51 PST

Easiest way is to use the stock JDBC Realm and Container security.

For your DB, you should provide a SQL VIEW that makes your DB look the way that the JDBC Realm wants it took look (it's requirements are pretty basic, so this should be straighforward).

Your application can provide the login.jsp form styled however you want.
[Message sent by forum member 'whartung' (whartung)]

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