Hi there,
I'm sure I'm missing something, although I read the chapter about security in the JBoss book twice. I have
a simple web-app configured with DatabaseServerLoginModule security, and I get: java:comp/env/security does not appear to be correctly set up. This is my config
db2-service.xml
jndiName = jdbc/DeBugITDS
web.xml:
Form based login, realm = DeBugIT
jboss-web.xml:
security-domain: DeBugIT
auth.conf:
DeBugIT {
org.jboss.security.auth.spi.DatabaseServerLoginModule required
dsJndiName="jdbc/DeBugITDS"
principalsQuery="select password from user where userid = ?"
rolesQuery="select groupname, 'Roles' from membership where userid = ?"
;
};
login-config.xml
(this holds the same info as auth.conf, but in XML format.
-----8<-----8<-----8<-----8<-----8<-----8<-----
What do I forget?
Extra Info:
Even when I do a db2stop, JBoss fully starts, shows the login.jsp (FORM based login), but refuses to access the database.....