Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addAttempt() - Method in class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
- AttemptsMonitor - Class in nl._42.max_login_attempts_spring_boot_starter.service
- AttemptsMonitor() - Constructor for class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
- AuthenticationEndpoint - Class in nl._42.max_login_attempts_spring_boot_starter
- AuthenticationEndpoint() - Constructor for class nl._42.max_login_attempts_spring_boot_starter.AuthenticationEndpoint
- AuthenticationFailureListener - Class in nl._42.max_login_attempts_spring_boot_starter.listener
-
Listener which retrieves the remote address of the user when a login attempt fails and notifies the LoginAttemptService of this fact.
- AuthenticationFailureListener(LoginAttemptService) - Constructor for class nl._42.max_login_attempts_spring_boot_starter.listener.AuthenticationFailureListener
- AuthenticationSuccessListener - Class in nl._42.max_login_attempts_spring_boot_starter.listener
- AuthenticationSuccessListener(LoginAttemptService) - Constructor for class nl._42.max_login_attempts_spring_boot_starter.listener.AuthenticationSuccessListener
B
- block(LocalDateTime) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
C
- clock() - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptsAutoConfig
- create(String, HttpMethod) - Static method in class nl._42.max_login_attempts_spring_boot_starter.AuthenticationEndpoint
D
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class nl._42.max_login_attempts_spring_boot_starter.filter.LoginAttemptFilter
G
- getAttempts() - Method in class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
- getAuthenticationEndpoints() - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- getClearAllAttemptsCron() - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- getCooldownInMs() - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- getMaxAttempts() - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- getMethod() - Method in class nl._42.max_login_attempts_spring_boot_starter.AuthenticationEndpoint
- getPath() - Method in class nl._42.max_login_attempts_spring_boot_starter.AuthenticationEndpoint
- getUnblockTime() - Method in class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
H
- handle(HttpServletResponse) - Method in interface nl._42.max_login_attempts_spring_boot_starter.error.TooManyLoginAttemptsErrorHandler
-
Handling method for when a user has attempted to login too many times.
I
- isBlocked(String, String) - Method in interface nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptService
- isBlocked(String, String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceImplementation
-
Returns true if the remote address is currently blocked.
- isBlocked(String, String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceStub
- isBlocked(Clock) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
- isEnabled() - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
L
- LoginAttemptConfiguration - Class in nl._42.max_login_attempts_spring_boot_starter
- LoginAttemptConfiguration() - Constructor for class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- LoginAttemptFilter - Class in nl._42.max_login_attempts_spring_boot_starter.filter
-
Filter which checks if the login request is executed while the user is already blocked due to an excessive amount of login attempts.
- LoginAttemptFilter(LoginAttemptService, TooManyLoginAttemptsErrorHandler, LoginAttemptConfiguration) - Constructor for class nl._42.max_login_attempts_spring_boot_starter.filter.LoginAttemptFilter
- LoginAttemptsAutoConfig - Class in nl._42.max_login_attempts_spring_boot_starter
- LoginAttemptsAutoConfig() - Constructor for class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptsAutoConfig
- LoginAttemptService - Interface in nl._42.max_login_attempts_spring_boot_starter.service
-
Service which keeps track of login attempts performed from a given remote address.
- LoginAttemptServiceImplementation - Class in nl._42.max_login_attempts_spring_boot_starter.service
- LoginAttemptServiceImplementation(LoginAttemptConfiguration, Clock) - Constructor for class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceImplementation
- LoginAttemptServiceStub - Class in nl._42.max_login_attempts_spring_boot_starter.service
- LoginAttemptServiceStub() - Constructor for class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceStub
- loginFailed(String, String) - Method in interface nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptService
- loginFailed(String, String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceImplementation
-
Marks a failed login attempt for the remote address.
- loginFailed(String, String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceStub
- loginSucceeded(String, String) - Method in interface nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptService
- loginSucceeded(String, String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceImplementation
-
Marks a login attempt as successful, clearing the previous amount of failed attempts (if any).
- loginSucceeded(String, String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceStub
N
- nl._42.max_login_attempts_spring_boot_starter - package nl._42.max_login_attempts_spring_boot_starter
- nl._42.max_login_attempts_spring_boot_starter.error - package nl._42.max_login_attempts_spring_boot_starter.error
- nl._42.max_login_attempts_spring_boot_starter.filter - package nl._42.max_login_attempts_spring_boot_starter.filter
- nl._42.max_login_attempts_spring_boot_starter.listener - package nl._42.max_login_attempts_spring_boot_starter.listener
- nl._42.max_login_attempts_spring_boot_starter.service - package nl._42.max_login_attempts_spring_boot_starter.service
O
- onApplicationEvent(AuthenticationFailureBadCredentialsEvent) - Method in class nl._42.max_login_attempts_spring_boot_starter.listener.AuthenticationFailureListener
- onApplicationEvent(AuthenticationSuccessEvent) - Method in class nl._42.max_login_attempts_spring_boot_starter.listener.AuthenticationSuccessListener
R
- reset() - Method in class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
- reset() - Method in interface nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptService
- reset() - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceImplementation
-
Completely reset all attempts.
- reset() - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceStub
- resetByUsername(String) - Method in interface nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptService
- resetByUsername(String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceImplementation
- resetByUsername(String) - Method in class nl._42.max_login_attempts_spring_boot_starter.service.LoginAttemptServiceStub
S
- setAuthenticationEndpoints(List<AuthenticationEndpoint>) - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- setClearAllAttemptsCron(String) - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- setCooldownInMs(int) - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- setEnabled(boolean) - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- setMaxAttempts(int) - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptConfiguration
- setMethod(HttpMethod) - Method in class nl._42.max_login_attempts_spring_boot_starter.AuthenticationEndpoint
- setPath(String) - Method in class nl._42.max_login_attempts_spring_boot_starter.AuthenticationEndpoint
T
- tooManyLoginAttemptsErrorHandler() - Method in class nl._42.max_login_attempts_spring_boot_starter.LoginAttemptsAutoConfig
- TooManyLoginAttemptsErrorHandler - Interface in nl._42.max_login_attempts_spring_boot_starter.error
-
You can create a bean implementing this interface if you wish to override the default result that is sent back to the user when the login attempt limit has been reached.
U
- unblock() - Method in class nl._42.max_login_attempts_spring_boot_starter.service.AttemptsMonitor
- UsernameRemoteAddressBlockedException - Exception in nl._42.max_login_attempts_spring_boot_starter.listener
All Classes and Interfaces|All Packages|Serialized Form