Versions Compared

Key

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

The predicate bean named shibboleth.Conditions.Expression executes a Spring Expression Language (SpEL) expression against a ProfileRequestContext to produce a true/false result.

...

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

returnOnError

boolean

false

What to return if the expression fails

hideExceptions

boolean

false

If true, then the returnOnError value is returned if the expression raises an exception, otherwise the exception is passed out

Expression Context

The expression context will have two variables populated:

  • input - the ProfileRequestContext being evaluated

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