<div dir="ltr"><div>Hi all, the Shibboleth IDP 4 SAML2SSOConfiguration wiki page says:</div><div>"Virtually all the configuration options below can be set via two 
different properties: a static property that explicitly sets the value 
to use and a lookup strategy or predicate property that takes a <a href="http://shibboleth.net/cgi-bin/java-jdk.cgi/java.util.function.Function" title="http://shibboleth.net/cgi-bin/java-jdk.cgi/java.util.function.Function" target="_blank">Function</a> or <a href="http://shibboleth.net/cgi-bin/java-jdk.cgi/java.util.function.Predicate" title="http://shibboleth.net/cgi-bin/java-jdk.cgi/java.util.function.Predicate" target="_blank">Predicate</a>
 and returns the value to use. The dynamic property is generally named 
"propertyNamePredicate" or "propertyNameLookupStrategy" for Boolean- and
 non-Boolean-valued properties respectively."</div><div><br></div><div>If I understand correctly, I could set the forceAuthn property using a function or a predicate; so I configured something like: <br></div><div><span><code style="white-space:pre-wrap"><span><</span><span>bean</span><span> </span><span>parent</span><span>=</span><span>"</span><span>Shibboleth.SSO</span><span>"</span><span> </span><span>p:</span></code></span>forceAuthn<span><code style="white-space:pre-wrap"><span></span><span>Predicate</span><span>=</span><span>"myFunction</span><span>"</span><span> </span><span>/></span></code></span></div><div><span><code style="white-space:pre-wrap"><span></span></code></span></div><div><br></div><div>But logs say:<br>127.0.0.1|2023-08-01 11:47:48,895 - WARN [net.shibboleth.ext.spring.config.StringBooleanToPredicateConverter:52]|node0112712rdna23eo3kieob2q3xv13|Unrecognized value 'myFunction' converted to false; if intentional, explicitly use 'false'</div><div>and the dynamic setting doesn't work<br></div><div><br></div><div>I've put the bean with id myFunction in relying-party.xml, function-authn-config.xml, global.xml , but nothing changes. How can I specify the function/predicate to use ? <br></div><div>Thank you</div><div>Marco<br></div><span><code style="white-space:pre-wrap"><span></span></code></span></div>