Anyone figured out deprecation "com.google.common.base.Predicate"?

John Porter jporter2 at swarthmore.edu
Mon Feb 9 19:27:57 UTC 2026


Greetings all and thanks for any information you can provide. I'm having
the toughest time finding a viable alternative to address the following
warning:

WARN [DEPRECATED:135] - Java class 'com.google.common.base.Predicate': This
> will be removed in the next major version of this software; replacement is
> java.util.function.Predicate


We utilize this class just as it is described in the idp 5 documentation
here:

https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199506470/CasProtocolConfiguration#:~:text=Relying%20Party%20Override.-,In%20this%20example%2C,-3%20services%20will

I've attempted switching from this regex method to the Spring Expression
method discussed here, but that doesn't seem to play nicely with CAS:

https://shibboleth.atlassian.net/wiki/spaces/IDP5/pages/3199509766/ActivationConditions#SpecificRelyingParties:~:text=you%20can%20write-,Spring%20Expressions,-%2C%20sort%20of%20a

Hoping someone out there has figured out a simpler way to update the class
with minimal changes.

Thanks for any help you can provide.

--
John Porter
Systems Administrator
Swarthmore College
jporter2 at swarthmore.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20260209/53b0483b/attachment.htm>


More information about the users mailing list