\Pydio\Core\Utils\HttpBruteForceHelper

Class BruteForceHelper

Summary

Methods
Properties
Constants
getBruteForceLoginArray()
setBruteForceLoginArray()
checkBruteForceLogin()
suspectBruteForceLogin()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getBruteForceLoginArray()

getBruteForceLoginArray() : array

The array is located in the AjxpTmpDir/failedAJXP.log

Returns

array

setBruteForceLoginArray()

setBruteForceLoginArray(  $loginArray,   $validCurrent = false) : void

Store the array

Parameters

$loginArray
$validCurrent

checkBruteForceLogin()

checkBruteForceLogin(  $loginArray) : boolean

Determines whether the user is try to make many attemps

Parameters

$loginArray

Returns

boolean

suspectBruteForceLogin()

suspectBruteForceLogin() : boolean

Is there a brute force login attempt?

Returns

boolean