Accessing user attributes in login flow views

Jim Fox fox at
Mon Jul 23 15:43:47 EDT 2018

OK, thnaks. I'll keep that in mind.


On Mon, 23 Jul 2018, Cantor, Scott wrote:

> Date: Mon, 23 Jul 2018 12:41:18
> From: "Cantor, Scott" <cantor.2 at>
> To: Shib Users <users at>
> Reply-To: Shib Users <users at>
> Subject: RE: Accessing user attributes in login flow views
>> 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
> -- 
> For Consortium Member technical support, see
> To unsubscribe from this list send an email to users-unsubscribe at

More information about the users mailing list