Canonical principal help

Cantor, Scott cantor.2 at osu.edu
Tue Jul 9 14:17:03 UTC 2024


> I am unsuccessful if I use "$requestContext.principalName". 

That is not the documented syntax, it's $resolutionContext.principal, has been for a while now.

Velocity's default mode is to treat unrecognized variables by outputting the literal text, which masks errors like that. There are options to make it more strict.

-- Scott




More information about the users mailing list