Getting Hostname IDP is running on

Cantor, Scott cantor.2 at osu.edu
Mon Aug 12 08:05:07 EDT 2019


On 8/11/19, 3:58 PM, "users on behalf of Christopher Bland" <users-bounces at shibboleth.net on behalf of chris at fdu.edu> wrote:

> I have started tagging all of my pages and noticed something interesting.  If I force an error on a login page I can use my
> custom property on error.vm.  However if I cause a system error the error.vm page doesn't output my tag.  What I see is
> $environment.getProperty("idpNode", "unknown") at the bottom of the page. Which says to me it's not processing.

"environment" is an object we're injecting into views. System errors are handled at a lower layer and the only objects currently injected there are the servlet request and an HTML encoder.

The other poster is also wrong; there is no object called "custom" injected into that kind of error view so that won't make any difference.

-- Scott




More information about the users mailing list