Hi,
When you created the JDBCRealm you determined it with "JAAS Context: jdbcRealm" this is the key of Login.conf.
Attila.
Create JDBCRealm:
-----------------------------
In the Glassfish admin panel:
Configuration->Security->Realm, select 'new'
Name: helloRealm
Class Name: com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm
JAAS Context: jdbcRealm
JNDI: jdbc/auth
User Table: usertable
User Name Column: username
Password Column: password
Group Table: grouptable
Group Name Column: groupname
Digest Algorithm: none
<OK>
[Message sent by forum member 'aszomor']
http://forums.java.net/jive/thread.jspa?messageID=473684