Pulling an env var or Java variable into a view in V3
Brent Putman
putmanb at georgetown.edu
Fri Jun 12 18:51:15 EDT 2015
On 6/12/15 6:38 PM, Brent Putman wrote:
> From the variables list at top of login.vm:
>
> ## environment - Spring Environment object for property resolution
>
>
Btw, it's mentioned here in the wiki:
https://wiki.shibboleth.net/confluence/display/IDP30/VelocityProperties
>
> So you might just try something like:
>
> $environment.getProperty('idpNodeName')
The wiki also documents the variant that returns a default value used
when the property isn't set, which might be useful. So something like
$environment.getProperty('idpNodeName', 'some-default-value')
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20150612/4e439355/attachment.html>
More information about the users
mailing list