Accessing user attributes in login flow views

Jim Fox fox at
Mon Jul 23 15:35:26 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"/>

In the mfa script we do

  custom.get("view").put("duo_username", some_value);

And then use $custom.duo_username in the view.


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

> Date: Mon, 23 Jul 2018 09:59:04
> 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
>> For that we do something like:
>> conversationScope = requestContext.getConversationScope();
>> conversationScope.put("duo_realuser", username); etc.
>> Then it's available later with a get.
> Right, thanks for saving me the need to dig up a sample.
> -- 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