<html><body>Thank you, Scott - this is working ðŸ˜Š<BR>
<BR>
Phil.<BR>
<BR>
-----Original Message-----<BR>
From: users <users-bounces@shibboleth.net> On Behalf Of Cantor, Scott<BR>
Sent: 24 May 2021 20:47<BR>
To: Shib Users <users@shibboleth.net><BR>
Subject: Re: LoginConfigStrategy example?<BR>
<BR>
The static setter and the Function signature are not the same signature, which I overlooked, and in fact is wrong in the documentation, I'll need to fix it.<BR>
<BR>
The static setter takes Collection<Pair<String,Collection<Principal>>><BR>
<BR>
i.e. the pair's second values are just Principal collections/lists/whatever, not a Subject bean, precisely to make it less painful to wire it up.<BR>
<BR>
e.g. (for one element as an example):<BR>
<BR>
<util:list id="shibboleth.authn.JAAS.LoginConfigurations"><BR>
    <bean id="Login1" parent="shibboleth.Pair"><BR>
        <property name="first"> <BR>
            <value>ShibUserPassAuth1</value><BR>
        </property><BR>
        <property name="second"><BR>
            <util:list><BR>
                <bean parent="shibboleth.SAML2AuthnContextClassRef"<BR>
                   c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" /><BR>
                <bean parent="shibboleth.SAML2AuthnContextClassRef"<BR>
                   c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:Password" /><BR>
           </util:list><BR>
        </property><BR>
    </bean><BR>
</util:list><BR>
<BR>
-- Scott<BR>
<BR>
<BR>
-- <BR>
For Consortium Member technical support, see <a href="https://wiki.shibboleth.net/confluence/x/coFAAg" target="_blank">https://wiki.shibboleth.net/confluence/x/coFAAg</a><BR>
To unsubscribe from this list send an email to <a href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><BR>

</body></html>