- Publicity: Public Only All
authentication-procs-naviserver.tcl
Provides the caching implementation of the brute force login prevention feature.
- Location:
- packages/acs-authentication/tcl/authentication-procs-naviserver.tcl
- Created:
- 28 Feb 2018
- Author:
- Guenter Ernst <guenter.ernst@wu.ac.at>
- CVS Identification:
$Id: authentication-procs-naviserver.tcl,v 1.5.2.3 2021/10/05 15:43:09 antoniop Exp $
Procedures in this file
- auth::login_attempts::all_entries (private)
- auth::login_attempts::flush_all (private)
- auth::login_attempts::get (private)
- auth::login_attempts::login_attempt_flush (private)
- auth::login_attempts::login_attempt_incr (private)
Detailed information
auth::login_attempts::all_entries (private)
auth::login_attempts::all_entries
Get all login attempts
- Returns:
- list of triples in the form {key1 timeout1 number_of_attempts1 key2 ...}
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
auth::login_attempts::flush_all (private)
auth::login_attempts::flush_all
Flush all login attempt counters.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
auth::login_attempts::get (private)
auth::login_attempts::get -key key
Get the current number of login attempts of a user.
- Switches:
- -key (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- auth__login_attempts
auth::login_attempts::login_attempt_flush (private)
auth::login_attempts::login_attempt_flush -key key
Flush the login attempts of a user.
- Switches:
- -key (required)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
auth::login_attempts::login_attempt_incr (private)
auth::login_attempts::login_attempt_incr -key key [ -max_age max_age ]
Increment the login attempts of a user. The max_age is specified in seconds.
- Switches:
- -key (required)
- -max_age (optional, defaults to
"21600"
)- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.