• 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

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 ...}

Testcases:
No testcase defined.

auth::login_attempts::flush_all (private)

 auth::login_attempts::flush_all

Flush all login attempt counters.

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)

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)

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")

Testcases:
No testcase defined.
[ show source ]