ExpressionConsumer

ExpressionConsumer

The bean named shibboleth.Consumers.Expression executes a Spring Expression Language (SpEL) expression to implement an arbitrary Consumer signature.

The bean named shibboleth.BiConsumers.Expression executes a Spring Expression Language (SpEL) expression to implement an arbitrary BiConsumer signature.

An Expression Consumer is instantiated by supplying a string argument that contains a SpEL expression to evaluate.

Example

<bean id="MyConsumer" parent="shibboleth.Consumers.Expression" c:expression="#input.doSomething()" />

Reference