protected function generateSettings()
    {
        $settings = new LoginProviderSettings();
        $settings->identityColumnName = $this->usernameColumnName;
        $settings->lockoutAccountAfterFailedLoginAttempts = true;
        $settings->numberOfFailedLoginAttemptsBeforeLockout = 3;
        $settings->numberOfPreviousPasswords = 3;
        $settings->totalPreviousPasswordsToStore = 5;
        $settings->totalMinutesToLockUserAccount = 10;

        return $settings;
    }