String(resolutionContext.getAttributeRecipientID()) returns null
Rhian Resnick
rresnick at fau.edu
Mon Jul 17 18:07:48 EDT 2017
Oh my, we may be missing something obvious. How does one obtain the entityId of the remote service provider in the context of the mfa flow selection?
The value is populated by something because when Shibboleth resolves the users attributes the value is present and the code executes as expected. Unfortunately when called by the MFA selection code it is null.
Rhian Resnick
Assistant Director Middleware and HPC
Office of Information Technology
Florida Atlantic University
777 Glades Road, CM22, Rm 173B
Boca Raton, FL 33431
Phone 561.297.2647
Fax 561.297.0222
[image] <https://hpc.fau.edu/wp-content/uploads/2015/01/image.jpg>
________________________________
From: users <users-bounces at shibboleth.net> on behalf of Cantor, Scott <cantor.2 at osu.edu>
Sent: Monday, July 17, 2017 4:39 PM
To: Shib Users
Subject: RE: String(resolutionContext.getAttributeRecipientID()) returns null
> We are having some difficulty in 3.3.1 executing the following mfa script
> where resCtx.getAttributeRecipientID() return null a similar call in attribute-
> resolver.xml also returns null when we load the eduPersonAssurance
> attribute.
If you don't populate it, it isn't there. This is *you* running the resolver, not the IdP doing it in the more usual cases. If you want the field in the context populated, then your MFA script is the one to do it. You're fetching the value and getting null, but you should be setting the value if you want it set.
-- Scott
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170717/9225e8ec/attachment-0001.html>
More information about the users
mailing list