Getting Hostname IDP is running on

Cantor, Scott cantor.2 at osu.edu
Fri Aug 9 17:53:11 EDT 2019


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




More information about the users mailing list