I want to do login using form based authentication. i have been followed all steps for creating jdbc realm but run time error is coming. error is like-SEVERE: SEC1111: Cannot load group for JDBC realm user [pqr]. WARNING: Web login failed: Login failed: javax.security.auth.login.LoginException: Security Exception
A:
This might be caused by a database error. E.g. invalid column name. You should increase the log level for security:
Assuming you are using Glassfish v3: In the glassfish admin console (http://localhost:4848/) under "Configuration > Logger Settings > Log Levels" set "javax.enterprise.system.core.security" to "FINEST". Then try to login again and have a look at the log. In my setup the logfile is here: glassfishv3/glassfish/domains/domain1/logs/server.log
If you cannot resolve your issue with the help of the log, post the log output here, so we can try to help.
kuester2000
2010-05-25 13:48:21