<div dir="ltr"><div>Hello, I'm using MFA on IDP4, that can use RemoteUser authentication; using remoteuser-authn-config.xml</div><div>configuration file I choose among various path (example Authn/path1, Authn/path2) the right path using the AuthnContextClassRef sent from the SP.</div><div>Now I need to choose using something that a user can select from authenticaton screen (for example: based on the user selection the remoteuser-authn-config.xml could select Authn/path3);</div><div>a possible solution could be to use, on remoteuser-authn-config.xml, the eventId of the user selection, but I don't know if it's possible and how; otherwise I could set an AuthnContextClassRef <br></div><div>from the MFA script: I tried using the script:</div><div>-------------<br></div><div>authCtx = input.getSubcontext("net.shibboleth.idp.authn.context.AuthenticationContext");</div><div>var AuthnContextClassRefPrincipal = Java.type("net.shibboleth.idp.saml.authn.principal.AuthnContextClassRefPrincipal");<br>            tkp = new AuthnContextClassRefPrincipal("myContextClassRef");<br>            authCtx.addRequestedPrincipalContext("operator",tkp,false);</div><div>-------------</div><div>but I don't know what to put on the "operator" field; but, more generally, I don't know if any of the <br></div><div>two methods are the right approach to this problem</div><div>Another way could be to "clone" the RemoteUser flow to a new one (creating a new module ?),</div><div>but it seems a complex solution for a (apparently) simple problem</div><div>Could anyone help me ?<br></div><div>Thank you</div><div>Marco Naimoli<br></div><div><br></div></div>