Hardcoded references to error.jsp in AuthnEngine

Christopher Bongaarts cab at umn.edu
Mon Mar 30 12:44:34 EDT 2015


On 3/16/2015 3:43 PM, Cantor, Scott wrote:
> On 3/16/15, 4:35 PM, "Christopher Bongaarts"<cab at umn.edu>  wrote:
>
>> >Was tracking down where users were reporting the 2.4.x equivalent of the
>> >griffon page ("Our Identity Provider") when accessing /idp/AuthnEngine
>> >despite our having configured alternate error page locations in
>> >web.xml.  Discovered that there are several hard-coded references to
>> >forwardRequest("/error.jsp", httpRequest, httpResponse) in
>> >AuthenticationEngine.java.  Since this path seems to keep the HTTP error
>> >code at 200, the web.xml error pages are never triggered (they only
>> >activate on 500 or 404 errors).
> Yeah, I always replace error.jsp with a forward to my "stale" page, because I think the hardcoded cases are when the login context goes missing.

At the risk of asking a Tomcat/Servlet API question here (since you've 
already done it?), how did you do this (replace error.jsp with a forward 
to another page)?

-- 
%%  Christopher A. Bongaarts   %%  cab at umn.edu          %%
%%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%



More information about the dev mailing list