Hi,
I've got some issue, that I can't explain. I am running a Web-Application that provides a special login for certain customers. I am running a Tomcat Server (Version 5.5.17), using BASIC authentication configured in my web.xml:
Now if I and my colleagues log into this app everthing works fine. But one customer (one I know of) is not able to login. I first thought this is some kind of browser issue, but firefox as well as IE refuse to login. The always give 401 (not 403) after 3 'failed' attempts.
I am absolutely sure, that the provided username and password are correct. I am able to login with these.
To make things even trickier: If I provide the customer with a login to the tomcat manager webapp via tomcat-users.xml, he is able to login without problems.
I am totally !! In fact, the login action is never reached. Maybe there is some issue with SHA-1 password encryption? With the encoding (user and password contain only ASCII)?
Following my struts Login action, my context.xml and the struts-config.xml part for login:
LoginAction.java
META-INF/context.xml
struts-config.xml
[ August 27, 2006: Message edited by: Markus Reinhardt ]
I've got some issue, that I can't explain. I am running a Web-Application that provides a special login for certain customers. I am running a Tomcat Server (Version 5.5.17), using BASIC authentication configured in my web.xml:
Now if I and my colleagues log into this app everthing works fine. But one customer (one I know of) is not able to login. I first thought this is some kind of browser issue, but firefox as well as IE refuse to login. The always give 401 (not 403) after 3 'failed' attempts.
I am absolutely sure, that the provided username and password are correct. I am able to login with these.
To make things even trickier: If I provide the customer with a login to the tomcat manager webapp via tomcat-users.xml, he is able to login without problems.
I am totally !! In fact, the login action is never reached. Maybe there is some issue with SHA-1 password encryption? With the encoding (user and password contain only ASCII)?
Following my struts Login action, my context.xml and the struts-config.xml part for login:
LoginAction.java
META-INF/context.xml
struts-config.xml
[ August 27, 2006: Message edited by: Markus Reinhardt ]