handler statements
Following statement clauses are supported:
first: Return on first accept or reject.any: Return on first accept.while: Return on first reject (this is a default for all blocks).all: Returns reject on first none or reject.none: Returns reject on first accept.each: Return with the last return value.
Examples handler statement configurations:
# Authenticate with the first method used
first {
pap;
chap;
mschapv2;
}
# Try to find a user from different backends
any {
backend "ldap1";
backend "ldap2";
}