Access user attribute in terms-of-use.vm
Cantor, Scott
cantor.2 at osu.edu
Fri Aug 18 10:20:47 EDT 2017
On 8/18/17, 10:10 AM, "users on behalf of Rhian Resnick" <users-bounces at shibboleth.net on behalf of rresnick at fau.edu> wrote:
> We need to lookup a user attribute in the terms-of-use.vm and pass it to a web service. Any thoughts on how to access an
> attribute such as eppn in velocity or a custom injected bean would be great.
Accessing the attribute is trivial, they're in the context tree (PRC->RelyingPartyContext->AttributeContext), but passing it to a web service is probably not something you want to be doing in a Velocity template or more to the point while a view is being rendered.
-- Scott
More information about the users
mailing list