Accessing user attributes in login flow views
Ian Bobbitt
ibobbitt at globalnoc.iu.edu
Mon Jul 23 12:15:02 EDT 2018
On 7/22/18 12:30 PM, Cantor, Scott wrote:
> On 7/20/18, 4:30 PM, "Ian Bobbitt" <ibobbitt at globalnoc.iu.edu> wrote:
>
>> Thanks. That's the path I was going down, until I got stuck. I was loosely following the "Programmatically Selecting
>> Flows" MFA flow example[1], but wasn't sure how to get the attributes to actually resolve
>> ("resCtx.resolveAttributes(custom)" where "custom" is an object-ref to "shibboleth.AttributeResolverService")
> I doubt that would be very easy to do inside a template, you should resolve attributes before that were to render.
>
Is there a suitable place in the context tree I could stash a couple booleans from the MFA script to reference more
easily from the views, or would I need to create my own class to put them in? (Is that even a good way to go about it? I
expect to only have about two values to check.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4090 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://shibboleth.net/pipermail/users/attachments/20180723/f4bd700b/attachment.p7s>
More information about the users
mailing list