Accessing user attributes in login flow views

Jim Fox fox at washington.edu
Mon Jul 23 12:53:43 EDT 2018


Forgot to add

   requestContext = input.getSubcontext("net.shibboleth.idp.profile.context.SpringRequestContext").getRequestContext();

Jim

>>> You get a 'custom' object in your mfa scripts that is also passed to your 
>>> views.
>>> Make your custom object a map, and set your booleans or whatever in it.
>> 
>> If it's static, yes, but that doesn't work as conversational storage, he's 
>> just trying to store intermediate request state.
>> 
>
> For that we do something like:
>
> conversationScope = requestContext.getConversationScope();
>
> conversationScope.put("duo_realuser", username);
> etc.
>
> Then it's available later with a get.
>
> Jim
>
>


More information about the users mailing list