I set the security-constraint in the
webapps/examples/WEB-INF/web.xml
file to protect all of /jsp/*
The BASIC authentication works fine but the FORM checks the
database for a null user name and then goes into an infinite loop.
I can see the browser trying to open the login page on the status
bar once for each user null error (flashes url).
2001-03-05 08:11:59 - ContextManager: JDBCRealm: JDBCRealm.authenticate:
SELECT user_pass FROM users WHERE user_name = ?
2001-03-05 08:11:59 - ContextManager: JDBCRealm: Authentication unsuccessful
for user null
2001-03-05 08:12:04 - ContextManager: JDBCRealm: Authentication unsuccessful
for user null
2001-03-05 08:12:04 - ContextManager: JDBCRealm: Authentication unsuccessful
for user null
2001-03-05 08:12:04 - ContextManager: JDBCRealm: Authentication unsuccessful
for user null
2001-03-05 08:12:04 - ContextManager: JDBCRealm: Authentication unsuccessful
for user null
Which loops until I close the browser
My config is:
Tomcat 3.2.1 Win2000 IE5.0 SQL2000 com.inet.tds driver
The FORM based page worked ok when I brought it up from the jsp examples
screen.
Has anybody seen this?
Any ideas?
Thanx,
Kevin McDonald
Austin TX
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]