ignore localhost
@@ -206,6 +206,8 @@ private void blockBySessionOrIpFailedLoginAttempts(final String sessionId, final
loginBlockResultImpl.getMessages().add(BLOCKED_BY_MORE_THAN_5_LOGIN_ATTEMPTS_BY_THIS_SESSION);
}
+ if (!("0:0:0:0:0:0:0:1".equals(applicationSession.getIpInformation()) || "127.0.0.1".equals(applicationSession.getIpInformation()))) {
+
final List<ApplicationSession> applicationSessionsByIp = applicationSessionDAO
.findListByProperty(ApplicationSession_.ipInformation, applicationSession.getIpInformation());
@@ -232,6 +234,7 @@ private void blockBySessionOrIpFailedLoginAttempts(final String sessionId, final
}
}
}
+ }
/**
* The Class LoginBlockResultImpl.
