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