Resolving $resolutionContext in LDAP Filter with MFA second factor check

Cantor, Scott cantor.2 at
Wed Dec 23 13:48:24 UTC 2020

I don't see how that's possible, $resolutionContext is always populated. Even if the specific property were null, it shouldn't mis-evaluate the expression but unless you actually populate the field when you create the context yourself in the MFA flow, it's not going to be populated anyway. It's possible an empty field doesn't get the expression replaced but that's not my recollection of what it does.

The fact that it leaves the variable there is a result of a Velocity setting and the setting can be changed in V4 to a strict mode that throws if the expression can't evaluate.

-- Scott

More information about the users mailing list