<AuthBy SQLFAILUREPOLICY> provides a
persistent and multi-server implementation of AuthBy
FAILUREPOLICY. With this clause the counters are stored in an
SQL database.goodies/failurepolicy.cfg for an example
configuration.<AuthBy SQLFAILUREPOLICY> understands also
the same parameters as <AuthBy FAILUREPOLICY>.
For more information, see Section 3.103. <AuthBy FAILUREPOLICY>.
It supports also all the common SQL configuration parameters. For more
information about the SQL configuration parameters, see Section 3.8. SQL configuration.FailurePolicyContext parameter
valueAddQuery is not
run. AddQuery is not needed if
UpdateQuery can do both the add and update.
AddQuery supports SQL bind variables with
AddQueryParam. See the sample configuration file
goodies/failurepolicy.cfg for an example query. For
more information about bind variables, see Section 3.8.1. SQL bind variables.
AddQuery is not defined and policy state needs to be
added. It is expected to record the details of both consecutive and
cumulative counters, policy violation and current window time in the SQL
database. Special formatting characters are replaced as follows:FailurePolicyContext parameter
valueUpdateQuery is not
run. UpdateQuery supports SQL bind variables with
pdateQueryParam. See the sample configuration file
goodies/failurepolicy.cfg for an example query. For
more information about bind variables, see Section 3.8.1. SQL bind variables.
FailurePolicyContext parameter
valueGetQuery is not
run. GetQuery supports SQL bind variables with
GetQueryParam. See the sample configuration file
goodies/failurepolicy.cfg for an example query. For
more information about bind variables, see Section 3.8.1. SQL bind variables.