Getting Hostname IDP is running on
Christopher Bland
chris at fdu.edu
Sun Aug 11 15:57:48 EDT 2019
Hi Scott,
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.
Any thoughts?
-Chris
On 8/9/19, 5:53 PM, "users on behalf of Cantor, Scott" <users-bounces at shibboleth.net on behalf of cantor.2 at osu.edu> wrote:
On 8/9/19, 5:43 PM, "users on behalf of Christopher Bland" <users-bounces at shibboleth.net on behalf of chris at fdu.edu> wrote:
> For anyone reading this in the future, I read https://wiki.shibboleth.net/confluence/display/IDP30/SpringConfiguration
> and modified my conf/idp.properties file. I added the name of my custom properties file to the end of the
> idp.additionalProperties line. On my login.vm file I used $environment.getProperty("idpNode", "unknown")
Yes, that's what I had in mind.
I think you might even be able to use an actual Java system property on the command line via an environment variable or something like that if you wanted to, which I guess could be handled in a way that would end up being host-agnostic (meaning pulled via a hostname command or something).
-- Scott
--
For Consortium Member technical support, see https://wiki.shibboleth.net/confluence/x/coFAAg
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list