ELException on IdP 4.0.1
ramon.pfeiffer at uni-tuebingen.de
Wed Nov 25 17:03:30 UTC 2020
On 25.11.2020 17:03, Cantor, Scott wrote:
> I think you scrambled up something in your configuration and supplied a Function as a bean that's a Predicate/Condition. That could have "worked but not worked" before because Guava's signature for both was apply() but in Java 8+ world, Predicate uses test and Function uses apply, so the code is calling test on a Function.
> It was wrong before, but must have been implicitly working well enough to pass notice by treating the Function result as a condition result I guess.
> I suspect maybe that's why Java used different methods. I hadn't realized before why that was done, but this is almost certainly why, you get a failure instead of silent incorrectness.
> -- Scott
Thanks Scott, that helped.
Changing the id of my interceptor bean from
"shibboleth.context-check.Function" and returning "proceed" or
"ContextCheckDenied" as applicable resolved this issue.
For my understanding, is it possible to use an inline script for a
Condition that returns just a boolean value true or false?
Thanks again and best regards
Zentrum für Datenverarbeitung
E-Mail: ramon.pfeiffer at uni-tuebingen.de
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5437 bytes
Desc: S/MIME Cryptographic Signature
More information about the users