Skip to content

Fortified IDDocs

Should valve run (exec_if_expr)

Check whether or not a valve should run

With exec_if_expr you can control if a valve should be executed or not in the current context. For details, see execution control.

Supported scopes are export, request and session.

  • Check if a property contains "eidas"
    "exec_if_expr": "exports.used_auth == ('eidas')",

  • Run if the user is not a member of a group matching "grp-system"
    "exec_if_expr": "!mv.matchAny(exports.memberOf, /grp-system/)"