Attribute Access in Velocity files
Cantor, Scott
cantor.2 at osu.edu
Thu May 21 18:07:26 UTC 2020
On 5/21/20, 1:53 PM, "users on behalf of Zunan Dong" <users-bounces at shibboleth.net on behalf of zunan.dong at utoronto.ca> wrote:
> I'm running Shibboleth IdP V3.3.0. Is it possible to access attributes defined in attribute-resolver.xml from velocity files
> under {idp.home}/views?
That question is overly broad, it depends on the view. But yes, it's possible when relevant to the timing of the view. The documentation on creating interceptors [1] describes where attributes resolved during normal processing live in the tree and the javadocs for all of the objects are otherwise the way you can learn how to do this sort of thing.
-- Scott
[1] https://wiki.shibboleth.net/confluence/display/IDP4/ProfileHandling
More information about the users
mailing list