<div dir="ltr">We are moving to the MFA authn flow.  Our code is pretty much pulled from the wiki example, and the piece in question looks like..<div><br></div><div><div>                if (rpCtx != null) {</div><div>                    rps = rpCtx.getRequestedPrincipals();</div><div>                    tkp = new AuthnContextClassRefPrincipal("urn:oasis:names:tc:SAML:2.0:ac:classes:TimeSyncToken");</div><div>                    if (rpCtx.getRequestedPrincipals().contains(tkp)) {</div><div>                        logger.debug("RP requested token login");</div><div>                        nextFlow = "authn/remoteusertoken";</div><div>                    }</div><div>                }</div></div><div><br></div><div>We also accept "<a href="http://id.incommon.org/assurance/mfa">http://id.incommon.org/assurance/mfa</a>" and "<a href="https://refeds.org/profile/mfa">https://refeds.org/profile/mfa</a>" as contexts that trigger MFA.</div><div><br></div><div>This is ecmascript, but it's using the methods off of the java objects.  Any suggestions on doing an intersection between the list of principals returned by rpCtx.getRequestedPrincipals and the list of principal names that includes all of the principal names that should trigger MFA?</div><div><br></div><div>Liam</div></div>