Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Reference

true
Localtabgroup
Localtab live
active
Expand
titleBean Properties

The  following additional bean properties are available:

PropertyName

Type

Default

Description

customObject

Bean/Reference


An object to make available to the script via a variable named custom

hideExceptions

boolean

false

If true, then any exception raised is masked

inputType

(Consumer variant)

Class<?>


Adds type checking against the input to the consumer to enforce type safety

inputTypes

(BiConsumer variant)

Pair<Class<?>,Class<?>>


Adds type checking against the input to the consumer to enforce type safety

localtab-live
Expand
titleExpression Context

For 

the For the Consumer variant, the expression environment will have these variables populated:

  • input - the input

  • custom - the object set via the customObject property, if any

For the BiConsumer variant, the expression environment will have these variables populated:

  • input1 - the first input

  • input2 - the second input

  • custom - the object set via the customObject property, if any

...