Custom Shibboleth Error Page

Cantor, Scott cantor.2 at osu.edu
Thu Feb 16 10:44:20 EST 2017


> Ok, I think I asked that incorrectly.  Given that $IDP_HOME/messages/error-
> messages.properties "operates" within the IDP context, specifying the
> following line:
> 
> idp.logo = /images/somerandompic.png
> 
> is going to attempt to access /idp/images/somerandompic.png.

No, it actually doesn't. The /idp part is only included because the message insertion into the template is prefixed by the servlet context path:

          <img src="$request.getContextPath()#springMessage("idp.logo")" alt="#springMessageText("idp.logo.alt-text", "logo")">

Just take it out.

-- Scott



More information about the users mailing list