How to generate event in authn flow to map to SAML status

Cantor, Scott cantor.2 at osu.edu
Mon May 16 15:00:13 EDT 2016


On 5/16/16, 1:52 PM, "dev on behalf of Joey Wang" <dev-bounces at shibboleth.net on behalf of carbon_60 at yahoo.com> wrote:



>I am writing an authn flow extension and my question is how I can raise the event "InvalidCredentials" in my extension? Is there an example that I can follow?

The end-state that a login flow terminates with eventually gets "rippled" out of the stack of flows calling each other and becomes the event that gets processed as an error.

The built-in events, like that one, are already defined in an abstract parent flow that all the login flows should inherit from, there's an <end-state id="InvalidCredentials"/> defined. So if your flow signals that event, it will automatically happen.

-- Scott



More information about the dev mailing list