ltm rule command AAA auth result
iRule(1) BIG-IP TMSH Manual iRule(1)
AAA::auth_result
AAA::auth_result
SYNOPSIS
AAA::auth_result AAA_REQUEST_ID
DESCRIPTION
This command is used to check the result of an authentication request.
It can be used to determine whether the user was successfully
authenticated, or if the authentication failed or if the system
encountered an error.
RETURN VALUE
There are 4 possible return values for this command (All STRING type):
"OK" - User was successfully authenticated
"FAIL" - Authentication failed
"INPROGRESS" - the request is still in progress (asyncronous).
"ERROR" - there was an error during the request.
VALID DURING
EXAMPLES
when HTTP_REQUEST_DATA {
set aaa_result [AAA::auth_result $request_id]
if { $aaa_result == "INPROGRESS" } {
after 200
continue
}
if { $aaa_result == "OK" } {
# request was successfull
} else {
# handle errors
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-11.6.0
--First introduced the command.
BIG-IP 2017-01-31 iRule(1)