D
Drazen Gemic
Hi !
I have created and configured a Servlet Chain Filter that controls
access to
files inside web application.
I did not set up any logon config parameters in XML. When the
access is restricted filter sets 401 status and terminates processing.
When I try to get the restricted content with browser, I do get
401 response, but accompanied with some HTML and CSS crap that
I haven't coded into the filter. I have no idea where did it
come from.
The problem is that there is no login dialog box. I tried to add
WWW-authenticate header with realm, but does not help.
CSS and HTML crap is some moronic page that explains 401 response, looks
like something one would expect to show after user clicks cancel at
logon dialog.
Tomcat is 5.0.25, browser is Firefox 1.5 on Linux. I have Apache on the
same machine, and everything works perfect with it.
DG
I have created and configured a Servlet Chain Filter that controls
access to
files inside web application.
I did not set up any logon config parameters in XML. When the
access is restricted filter sets 401 status and terminates processing.
When I try to get the restricted content with browser, I do get
401 response, but accompanied with some HTML and CSS crap that
I haven't coded into the filter. I have no idea where did it
come from.
The problem is that there is no login dialog box. I tried to add
WWW-authenticate header with realm, but does not help.
CSS and HTML crap is some moronic page that explains 401 response, looks
like something one would expect to show after user clicks cancel at
logon dialog.
Tomcat is 5.0.25, browser is Firefox 1.5 on Linux. I have Apache on the
same machine, and everything works perfect with it.
DG