Commit 8ba68ee5 authored by Matija Obreza's avatar Matija Obreza
Browse files

Expose #handleFailedLogin, #handleSuccessfulLogin

parent 9f0a7be4
...@@ -77,7 +77,7 @@ public class AccountLockoutManager { ...@@ -77,7 +77,7 @@ public class AccountLockoutManager {
* *
* @param userName * @param userName
*/ */
synchronized void handleSuccessfulLogin(String userName) { synchronized public void handleSuccessfulLogin(String userName) {
purge(); purge();
if (loginAttempts.containsKey(userName)) { if (loginAttempts.containsKey(userName)) {
final AttemptStatistics stats = loginAttempts.get(userName); final AttemptStatistics stats = loginAttempts.get(userName);
...@@ -91,7 +91,7 @@ public class AccountLockoutManager { ...@@ -91,7 +91,7 @@ public class AccountLockoutManager {
* *
* @param userName * @param userName
*/ */
synchronized void handleFailedLogin(String userName) { synchronized public void handleFailedLogin(String userName) {
purge(); purge();
AttemptStatistics stats = null; AttemptStatistics stats = null;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment