more mfa scripting logic

Cantor, Scott cantor.2 at
Mon Feb 5 14:15:18 EST 2018

> The above works if I add an if statement for every RelyingPartyId separately.
> I was hoping I might be able to use a regular expression and do a pattern
> match or something like that (my terminology is probably wrong). I'm not a
> programmer.

There might be some built in Javascript mechanism to do it. All I know to do is wire up a Java bean in Spring of the Pattern class to perform the regex match and then inject it into the script via the customObject property (or I guess you could cook it up inside the script, I'm not that familiar with Nashorn object creation).

-- Scott

More information about the users mailing list