Write a Predicate<String> bean like shibboleth.warning.CookieCondition in xml

Francesco Malvezzi francesco.malvezzi at unimore.it
Fri May 31 10:41:26 UTC 2024


hi all,

I think I am in the condition to need the:
shibboleth.warning.CookieCondition [1]

but I can't figure out how to define a Predicate<String> bean as an xml 
inline. Could you share an example?

Thank you so much!

Francesco

description of the problem:

In the warning-intercept-config.xml I have three conditions:

reset-password
expire-password
expiring-password

when a user is in the expiring-password state the warning shows up all 
the time, because the cookie [2] is cleared by expire-password and 
reset-password that return false.

[1] 
https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199510081/WarningInterceptConfiguration
[2] the cookie that should avoid popping up the warning too often based 
on the Duration configured as the second argument of the 
shibboleth.warning.ConditionMap.


More information about the users mailing list