public class LoginAttemptListener extends Object implements 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 ApplicationListener<LoginAttemptMessage>
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.