Add me to the list of people with the same problem.
WARNING: Web login failed: Login failed: javax.security.auth.login.LoginException: No LoginModules configured for corejsfRealm
WARNING: Can not find resource bundle for this logger. class name that failed: com.sun.web.security.RealmAdapter
This is with the current Glassfish v3 Preview. (The package containing security.jar, which contains the JDBCRealm class, is GF Common Components 3.0-53.) Here is the snippet from domain.xml:
<auth-realm classname="com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm" name="corejsfRealm">
<property name="jaas-context" value="corejsfRealm" />
<property name="datasource-jndi" value="jdbc/mydb" />
<property name="user-table" value="Credentials" />
<property name="user-name-column" value="username" />
<property name="password-column" value="password" />
<property name="group-table" value="Groups" />
<property name="group-name-column" value="groupname" />
</auth-realm>
Following some (probably useless) advice, I then added an entry in login.conf, mimicking exactly that for jdbcRealm. I was rewarded with a different failure:
WARNING: Web login failed: Login failed: javax.security.auth.login.LoginException: Security Exception
WARNING: Can not find resource bundle for this logger. class name that failed: com.sun.web.security.RealmAdapter
Cay
[Message sent by forum member 'cayhorstmann' (cayhorstmann)]
http://forums.java.net/jive/thread.jspa?messageID=354545