intercept flow detect first authentication

Cantor, Scott cantor.2 at osu.edu
Tue May 10 15:26:32 EDT 2016


> What is the most elegant way for a post-authentication
> intercept flow to only "fire" after the first authentication
> and not as part of any future SSO flows?

I'm not sure there's an elegant way, and my brain's inside the SP right this second, but I think you could check to see if AuthenticationContext.getAuthenticationResult() is contained within AuthenticationContext.getActiveResults().valueSet()

I overrode AuthenticationResult.equals() so that equality is based on the flow ID and the authentication timestamp, so that should guarantee it's the same act.

-- Scott



More information about the dev mailing list