dev@glassfish.java.net

Re: Debugging Glassfish itself

From: Stijn de Witt <StijnDeWitt_at_chello.nl>
Date: Wed, 5 May 2010 11:41:07 +0200

I didn't post my Realm configuration yet, but here it is:

Realm Name: PVPluimen
Class Name:
com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm
JAAS Context: jdbcRealm
JNDI: jdbc/PVPluimen
User Table: PVPluimen.accounts
User Name Column: username
Password Column: password
Group Table: PVPluimen.memberships
group Name Column: groupid
Assign Groups:
Database User:
Database Password:
Digest Algorithm: none
Encoding: Hex
Charset: UTF-8

I also tried not to prepend the table names with the schema name, E.G. just
"accounts" instead of "PVPluimen.accounts", but it doesn't seem to make a
difference. My JDBC connection pool (the one at "jdbc/PVPluimen") has a
default database selected and I can insert records through that pool. My
registration page already works.

-Stijn


----- Original Message -----
From: "Bobby Bissett" <bobby.bissett_at_oracle.com>
To: <dev_at_glassfish.dev.java.net>
Sent: Wednesday, May 05, 2010 3:19 AM
Subject: Re: Debugging Glassfish itself


> >
>> Anyway, this basically was the reason for me wanting to debug the thing;
>> I can't seem to get any useful info in the log to help me determine the
>> cause of these failing logins.
>
> I know the feeling, but I bet the message means something to the right
> person. :)
>
> Quick question: maybe you posted this already, but can you show me the
> information you put into the admin console when you created the realm?
> For instance, realm name, jaas context attribute, etc.?
>
> Cheers,
> Bobby
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>