Write a Predicate<String> bean like shibboleth.warning.CookieCondition in xml
Cantor, Scott
cantor.2 at osu.edu
Fri May 31 17:40:43 UTC 2024
> Could you share an example?
If you're looking for the "right" class, there isn't one unless you just want to script it, which is likely good enough here. Anything else is just Java code to start with.
For scripting, there's net.shibboleth.shared.logic.ScriptedPredicate (takes any type as input). For V5 anyway, the equivalent class is different for older versions.
Wiring anything is a Spring question and I would refer you to their documentation, which is very good, but we have plenty of examples based on the more typical shibboleth.Conditions.Scripted case, which is really identical to wiring this up except for s/parent=/class=
-- Scott
More information about the users
mailing list