some comments about v3 post-login / post-authn flows

Cantor, Scott cantor.2 at osu.edu
Fri Sep 5 15:03:30 EDT 2014


On 9/4/14, 11:27 AM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:

>> If it weren't silly, we could have a callout at every step, the flows
>> don't care.
>
>Well, being silly sometimes, I was thinking that "extension" flows,
>perhaps consent or ToU, could listen for event IDs and then execute
>themselves. So, rather than wiring in post-authn or pre-authn
>callouts, a flow would be configured with the event IDs that it cares
>about. I looked a little at Web Flow's FlowExecutionListener
>interface, but did not see a way to "dynamically" configure flows. The
>point being that someone writing a flow could inject it into a system
>flow without modifying anything in system/, but I don't think this is
>really something we were trying to do, just a thought.

No, that's a good point. But I don't think a flow can "listen" for events.
Rather, you have to wire in a transition rule that says to go to a
subflow-state for a particular event. That's fairly easy. It's not as easy
to get back. We would have to have a way to save off the state to resume
with and pick that back up to know what state to transition to from the
subflow-state.

-- Scott




More information about the dev mailing list