> 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