Hi again, I did some further researching. I found this on the 304 returned by Tomcat when using firefox: -----8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-- You should never see this error in your Web browser. It should simply present the Web page from its cache - because it believes the page has not changed since it was last cached. If your client is not a Web browser, then it should equally be able to present the page from a cache. If unable to do so, it is not using the If_Modified_Since or related headers correctly. -----8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<-------8<--
When I disable caching in firefox, authentication works as it should and I get redirected as I should. So who's the culprit here. Firefox or Tomcat? Sorry, I'm a bit puzzled :(