Hello! I'm trying to add some HTTP Basic authentication to my Restlet code, which runs under Tomcat and uses ServerServlet with a target of a custom Container.
I was able to successfully add authentication support when I was using a previous Restlet release (unfortunately, I forget which one), but, now, my clients don't seem to be getting a WWW-Authenticate header, even though I've walked through the appropriate Restlet code in the debugger and it *appears* to be setting said header. (I've tried using both my custom GuardFilter subclass and GuardFilter directly, with identical results.) The end result is that, for example, Firefox will simply display a status page saying, "HTTP Status 401 - The request requires user authentication" without ever displaying an authentication dialog. Has anyone else run across this? If there's a simple solution, I'd obviously prefer that rather than more hours of in-depth debugging :-) (As a side note: is there a convenient way to get debugging information from the Restlet libraries, short of compiling them myself? It would really help in situations like this!) Thanks, Evan