shibboleth-dev - Re: [Shib-Dev] checking for loginContext = null in error.jsp
Subject: Shibboleth Developers
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: [Shib-Dev] checking for loginContext = null in error.jsp
- Date: Tue, 15 Dec 2009 14:13:55 +0100
- Organization: SWITCH
Sorry for the slow response, been out of the office or otherwise occupied the last few days.
I'm not sure which method you're saying doesn't work. What I was expecting would be that people would use:
edu.internet2.middleware.shibboleth.idp.util.HttpServletHelper#getLoginContext(HttpServletRequest)
That would return either a LoginContext or a null.
Peter Schober wrote:
Chad mentioned in
https://bugs.internet2.edu/jira/browse/SIDP-328 :
"Bookmarking of the login page will not be supported. If a custom error
message needs to be displayed the deployer should edit the error JSP
page to look for this case (when the login context is null) and
display an appropriate error message."
Now shibboleth/idp/authn/AuthenticationEngine.java does just this,
logs it and finally forwards to the error page:
forwardRequest("/error.jsp", httpRequest, httpResponse);
However I failed to get checking for null loginContext to work based
on the example code in th distributed login.jsp or looking at
AuthenticationEngine.java. Would anyone care to share this -- or
should I reopen that issue and request to include this code in the
distributed error.jsp?
-peter
--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch
- checking for loginContext = null in error.jsp, Peter Schober, 12/11/2009
- Re: [Shib-Dev] checking for loginContext = null in error.jsp, Chad La Joie, 12/15/2009
Archive powered by MHonArc 2.6.16.