users@glassfish.java.net

JDBCRealm in GlassFish

From: Shing Wai Chan <Shing-Wai.Chan_at_Sun.COM>
Date: Wed, 07 Jun 2006 14:47:20 -0700

Hi,
There were three version of JDBCRealm around.
In this email, I try to explain the one in GlassFish.
There is an early contribution from bjb on JDBCRealm.
The implementation have the following limitation:
- only support clear text
- does not support digest
- does not support encoding
- has issue running in EJB env (connection issue)

Based on bjb's implementation, we have enhanced the code to address the
above issue.
Now, one can migrate the database realm from Tomcat or JBoss to
GlassFish easily.

There is still one more issue that we are looking at.
In Tomcat, one is allowed to specific localDataSourceName.
We have some issues in getting the connection properly in this case.

Regards,
    Shing Wai Chan