Displaying a simple error page from a flow
Wessel, Keith
kwessel at illinois.edu
Fri Dec 9 16:12:00 EST 2016
Ah. Thank you. So the setPrincipal method simply needs to know what method to call to set the principal when it actually goes to do the attribute resolving. Makes sense. And the apply method was the only thing I was missing.
Everything's working perfectly now.
I'll file issues on both this and the ability to signal events from within the MFA flow.
Thanks again for all the help.
Keith
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Cantor, Scott
Sent: Friday, December 09, 2016 2:30 PM
To: Shib Users <users at shibboleth.net>
Subject: Re: Displaying a simple error page from a flow
On 12/9/16, 3:22 PM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
> It seems that this is executing without errors, but it's not returning a principal to then do attribute resolution on.
You're not calling the function, you're setting the function itself as the principal name.
> Before I throw in more debugging, can you tell me what I should be passing to the resCtx.setPrincipal method, please?
custom["usernameLookup"].apply(input)
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
More information about the users
mailing list