Radiator Server Documentation — v10.34.2
DEPRECATED: Use until instead
while
While statement for returning on first reject (default for all blocks)
Table of Contents
while
The while action is deprecated. Use until instead.
Configurations that use while still work, but Radiator Server logs a
deprecation warning.
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";
}