Displaying a simple error page from a flow

Cantor, Scott cantor.2 at osu.edu
Wed Dec 7 17:00:32 EST 2016


On 12/7/16, 4:49 PM, "Cantor, Scott" <cantor.2 at osu.edu> wrote:

> That's all a lot more than it would take if I had just allowed for event signaling.

If you want to try something out, this might work without all the overhead of the new flow.

Once you pick an event ID to use, you still need to add it to authn-events-flow.xml and map it to a template in errors.vm, all that's the same.

To try and signal it, have your transition rule script in the MFA flow return null back, but in the script, do this:

input.getSubcontext("org.opensaml.profile.context.EventContext", true).setEvent("MyEvent");

I don't know if that will work. I think it will work in some cases, but possibly not all.

-- Scott




More information about the users mailing list