users@glassfish.java.net

Re: New jdbcRealm Fails

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Tue, 20 Feb 2007 09:51:10 -0800

The url below seems to be installed its own JDBCRealm.
In GlassFish v1 ur1 and v2, we have JDBCRealm and there is no need to
install your own.
You can find more info in:
    http://blogs.sun.com/swchan/entry/jdbcrealm_in_glassfish
Regards,
    Shing Wai Chan

glassfish_at_javadesktop.org wrote:
> [b]Situation:[/b]
>
> I am upgrading my user login. My current security is a simplistic servlet that executes a sql query.
>
> I am using a mysql database: with 2 tables: persons and roles.
> I would like turn my logon into a proper app server approach.
>
> I'm trying to add a JDBC Realm based on the example here:
> http://www.jroller.com/page/brviking?entry=glassfish_for_tomcat_users_jdbc
>
>
> [b]Summary of the Problem:[/b]
> Added a new Realm and I'm getting an exception trying to access it.
>
> [b]Supporting Data:[/b]
> So, Trying something new here... I am a very visual person. So using my favorite tool: 'SnagIt' I uploaded some screen shots here.
>
> http://picasaweb.google.com/codingJoe/JdbcRealmTake1
>
> Includes
> > Setup Screen and Exception.
>
>
> [b]My Questions:[/b]
>
> 1. This exception doesn't look like its related to a JDBCRealm. Did I just find a Glassfish Bug?
>
> 2. I would like a really simple step-by-step tutorial that helps me setup my user log ons? Does someone have a better tutorial recommendation?
> [Message sent by forum member 'tmonteit' (tmonteit)]
>
> http://forums.java.net/jive/thread.jspa?messageID=204156
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>