Velocity view idp.properties

Peter Schober peter.schober at univie.ac.at
Fri May 24 12:07:40 EDT 2019


* Mak, Steve <makst at upenn.edu> [2019-05-24 17:58]:
> Is there a way to get an idp.properties token into a velocity view?

The velocity views are already making use of properties, for example
in views/intercept/attribute-release.vm you'd find:

  $request.getContextPath()#springMessage("idp.logo")

Other than that I guess you could add them to the
shibboleth.CustomViewContext map in conf/global.xml (i.e., read the
property there and create a bean with the desired data somehow) and
access it via the "custom" variable within views.

-peter


More information about the users mailing list