-
1. Re: How to tell the web-container which login-module to use
petertje Aug 8, 2003 9:07 AM (in response to tthiele)What does your login.do look like? Does it refer to the j_security_check action?
-
2. Re: How to tell the web-container which login-module to use
tthiele Aug 8, 2003 12:45 PM (in response to tthiele)my login.do forwards to the login page containing:
username/password is passed to a loginmodule (but which?) as one can see in the log:
2003-08-08 14:13:32,645 DEBUG [org.jboss.jetty.security.JBossUserRealm#repository-realm] JBossUserPrincipal: asldkf
2003-08-08 14:13:32,646 DEBUG [org.jboss.jetty.security.JBossUserRealm#repository-realm] authenticating: Name:asldkf Password:****
2003-08-08 14:13:32,646 DEBUG [org.jboss.jetty.security.JBossUserRealm#repository-realm] authenticated: asldkf
2003-08-08 14:13:32,646 DEBUG [org.jboss.jetty.security.JBossUserRealm#repository-realm] setting JAAS subjectAttributeName(j_subject) : null
2003-08-08 14:13:32,646 DEBUG [org.jboss.jetty.security.JBossUserRealm#repository-realm] JBossUserPrincipal: asldkf is in Role: user
anyway, the behaviour is the same with BASIC authentication.
The only indicator of a failed authentication is the null subject. But what I expect is a forward to the configured login error page. -
3. Re: How to tell the web-container which login-module to use
tthiele Aug 10, 2003 4:53 AM (in response to tthiele)I hardly dare to admin my basic blunder.
After including jboss-web.xml within the war everything runs smoothly. AAAAHHRRG