<html><body>Hello,<BR>
<BR>
I have a fresh installation of IdP v4.1, with the Password authentication flow and JAAS configured and working.<BR>
<BR>
I have two JAAS configurations, and if I put both in idp.authn.JAAS.loginConfigNames then both configurations work.<BR>
<BR>
I would like to arrange that if an authentication request is for a specific AuthnContextClassRefPrincipal value then JAAS config #2 is used, instead of the default JAAS config #1.<BR>
<BR>
I believe this should be possible by writing a shibboleth.authn.JAAS.LoginConfigStrategy Function bean, but can't get the syntax right and can't find any appropriate examples online.  Does anyone have a sample that they can share which would meet my needs?<BR>
<BR>
Thanks,<BR>
Phil.<BR>

</body></html>