Versions Compared

Key

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

...

Code Block
<bean id="MyCondition" parent="shibboleth.BiConditions.Expression"
	c:expression="#input1 + #input2 < 10" />

Reference

true
Localtabgroup
Localtab live
active
Expand
titleBean Properties

The following additional bean properties are available:

PropertyName

Name

Type

Default

Description

customObject

Bean/Reference


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

inputTypes

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


Allows type checking of inputs

returnOnError

boolean

false

What to return if the expression fails

localtab-live
Expand
titleExpression Context

The expression context will have the following variables populated:

  • input1 - the first input

  • input2 - the second input

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