Radiator Server Documentation — v10.33.2

while

While statement for returning on first reject (default for all blocks)

Table of Contents
  • while
  • Migration to until

while

NOTE: The until action should be used instead of pipeline directives. The until action provides a readable and flexible way to control pipeline execution.

Return on first reject (this is a default for all blocks).

Standalone action for the while pipeline directive.

This is useful when you want to go back to default while behavior inside another pipeline directive.

Example


all {
    backend "VALIDATE_USER";
    while {
        backend "CHECK_PERMISSIONS";
        backend "VERIFY_LICENSE";
    }
}

Migration to until

Use until reject {}

until reject {
    backend "CHECK_PERMISSIONS";
    backend "VERIFY_LICENSE";
}
Table of Contents
Navigation
  • accept

  • all

  • any

  • append

  • assert

  • backend

  • challenge

  • chap

  • conditions

  • copy

  • count

  • debug

  • discard

  • each

  • eap

  • error

  • filter

  • first

  • hotp

  • http-basic-auth

  • if

  • ignore

  • invoke

  • log

  • map

  • message

  • modify

  • mschap

  • mschapv2

  • none

  • pap

  • reason

  • reject

  • reject_errors

  • replace

  • reply

  • rewrite

  • set

  • sleep

  • sometimes

  • stop

  • totp

  • trace

  • try

  • until

  • while

  • with

  • yubikey