public class LoginAttemptListener extends 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.0-ice35-b74
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.