URL encoding the entity ID in Velocity
Cantor, Scott
cantor.2 at osu.edu
Wed Feb 3 16:01:13 EST 2016
On 2/3/16, 3:56 PM, "users on behalf of Brent Putman" <users-bounces at shibboleth.net on behalf of putmanb at georgetown.edu> wrote:
>Given the Spring wiring requirement here (i.e. not modifying Java code), I think you'd want something like this [2]:
>
> <util:map id="shibboleth.CustomViewContext">
> <entry key="urlEncoder">
> <value type="java.lang.Class">java.net.URLEncoder</value>
> </entry>
> </util:map>
I didn't know that syntax, that's better than what I was suggesting obviously.
And I meant that the bean has to be called "shibboleth.CustomViewContext", obviously, not "custom". Thats just the name of the variable we put it in in Velocity.
-- Scott
More information about the users
mailing list