access to DateTool in shib views?

Cantor, Scott cantor.2 at osu.edu
Tue Jun 9 14:51:20 EDT 2015


On 6/9/15, 6:19 PM, "Liam Hoekenga" <liamr at umich.edu> wrote:



>I'd like to be able to access $date from the shibboleth velocity 
>templates, but I can't figure out where / how to make it available.

Assuming you're talking about V3....

>I've found some stuff about creating a "toolbox.xml" to register the 
>classes I want available to velocity, but the IdP doesn't seem to have an 
>equivalent.

I have run across that toolbox stuff in the Spring docs, but I haven't 
really figured it all out and it wasn't critical path back then.

I did manage to get the springMessage macros to work, I don't know if 
there's a relationship there.

>Is it possible to make $date available?

I don't have a ready answer at the moment. Obviously "yes", but I can't 
say what it involves.

-- Scott



More information about the users mailing list