Accessing user attributes in login flow views

Cantor, Scott cantor.2 at
Mon Jul 23 15:41:18 EDT 2018

> Please correct me if this isn't a good way.
> To send a value from an MFA script to the view we do like this:
> Our 'custom' Map has this entry
>   <entry key="view" value-ref="shibboleth.CustomViewContext"/>

That is likely a singleton, so it's not per-request, it would be overwritten by other requests, and be subject to the usual race conditions between separate users. The variable scopes accessed via RequestContext are inherently scoped to the flow conversations and are isolated from each other.

But it really depends what the Spring beans all look like I suppose.

Our intent is/was to keep everything in the context tree we manage in the IdP, and so I added a scratch storage capability for 3.4 that amounts to the same as the flow/conversation scopes but just less Spring webflow-specific.

-- Scott

More information about the users mailing list