LoginConfigStrategy example?
Cantor, Scott
cantor.2 at osu.edu
Mon May 24 19:46:51 UTC 2021
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.
The static setter takes Collection<Pair<String,Collection<Principal>>>
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.
e.g. (for one element as an example):
<util:list id="shibboleth.authn.JAAS.LoginConfigurations">
<bean id="Login1" parent="shibboleth.Pair">
<property name="first">
<value>ShibUserPassAuth1</value>
</property>
<property name="second">
<util:list>
<bean parent="shibboleth.SAML2AuthnContextClassRef"
c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport" />
<bean parent="shibboleth.SAML2AuthnContextClassRef"
c:classRef="urn:oasis:names:tc:SAML:2.0:ac:classes:Password" />
</util:list>
</property>
</bean>
</util:list>
-- Scott
More information about the users
mailing list