Using org.opensaml.profile.logic.IPRangePredicate in MFA nextFlowStrategy
Youssef GHORBAL
youssef.ghorbal at pasteur.fr
Fri Apr 4 13:30:54 UTC 2025
> On 4 Apr 2025, at 14:50, Cantor, Scott <cantor.2 at osu.edu> wrote:
>
>> I've ended up doing it like this (in authn/mfa-authn-
>> config.xml)
>
> That is in general how. I will copy it into a page in the PredefinedBeans subtopics.
Awesome!
> For clarity I would pass the script's input variable into the predicate rather than null, though it does in fact not currently do anything with the input and isn't typed to care what sort of context class is passed in.
I'll do that indeed!
>> (for instance If I wanted to log the actual client IP address it's
>> not possible with this approch)
>
> Why? Inject the servlet request supplier into the script (i.e. change custom into a map bean to capture both objects) and log the address.
Of course a map! that did'nt even crossed my mind! Thank you pointing that out.
Youssef
More information about the users
mailing list