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.2.4-ice35-b23
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.