public class LoginAttemptListener extends java.lang.Object implements org.springframework.context.ApplicationListener<LoginAttemptMessage>
LoginAttemptMessage
. If there are more than some
number of failures, then throttling beings to reduce the number of possible
checks. The next successful check resets the count to 0. The state is not
stored between server restarts.SecuritySystem
,
Permissions
Constructor and Description |
---|
LoginAttemptListener(int throttleCount,
long throttleTime) |
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(LoginAttemptMessage lam) |
public LoginAttemptListener(int throttleCount, long throttleTime)
public void onApplicationEvent(LoginAttemptMessage lam)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<LoginAttemptMessage>
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.