In the command line in the asadmin program i type in the following:
create-auth-realm --classname com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm --property user-name-column=username:digest-algorithm=md5:password-column=password:group-name-column=rolename:datasource-jndi=jdbc/web4project:user-table=persons:group-table=persons_roles:jaas-context=jdbcRealm web4projectrealm
But it says: "Invalid user or password"
But it didn't even ask for my username or password
...
[Message sent by forum member 'sanderdeclerck' (sanderdeclerck)]
http://forums.java.net/jive/thread.jspa?messageID=276886