Capture IdP hostname and user IP in velocity templates
Rod Widdowson
rdw at steadingsoftware.com
Fri Nov 27 10:05:58 UTC 2020
> I'd like to store in variables the local hostname of the IdP server as
> well as the user's IP in $idp_home/views/login.vm. Has anyone done
> this before? I'd appreciate the guidance, not sure how to do this.
Do you mean display? Is this the same as the LocalName [1] for the httprequest [2]
[1] https://docs.oracle.com/javaee/5/api/javax/servlet/ServletRequest.html#getLocalName()
[2] https://wiki.shibboleth.net/confluence/display/IDP4/VelocityVariables#VelocityVariables-VariablesAvailableinAllTemplates
More information about the users
mailing list