The Shibboleth IdP V4 software will leave support on September 1, 2024.
ScriptedFunction
The bean named shibboleth.Functions.Scripted executes a JSR-223 scriptlet to implement an arbitrary Function signature.
The bean named shibboleth.BiFunctions.Scripted 4.1 executes a JSR-223 scriptlet to implement an arbitrary BiFunction signature.
Configuration
A Scripted Function is instantiated using one of two static factory methods (rather than created directly by invoking a Java constructor), so they have a different syntax in Spring. You can refer to the javadoc (Function, BiFunction) for complete details.
Reference