Using a different SP entity ID with the IdP SAML authn flow
Cantor, Scott
cantor.2 at osu.edu
Wed Sep 8 02:11:07 UTC 2021
On 9/7/21, 9:57 PM, "users on behalf of Wessel, Keith" <users-bounces at shibboleth.net on behalf of kwessel at illinois.edu> wrote:
> I've finally had time to look over the Javadocs and process your suggestion, Scott, and it makes sense. The
> value returned from getName should correspond with the authnContextClassRef string -- in this case, the
> Refeds MFA profile. Correct?
Yes.
> Only remaining question is what's the best way to search the principal objects returned from
> getRequestedPrincipals? A for loop is the most obvious, calling getName on each item in the list. Is there a
> more efficient technique? Sorry to have to take this post to coding advice.
I doubt it's all that more efficient but there are certainly tricks in Java like a lambda passed into a stream built from a collection as a Predicate to locate a matching object. I have no idea what Javascript can tolerate, probably nothing very much like that.
-- Scott
More information about the users
mailing list