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) |
public LoginAttemptListener(int throttleCount, long throttleTime)
public void onApplicationEvent(LoginAttemptMessage lam)
org.springframework.context.ApplicationListener
onApplicationEvent
in interface org.springframework.context.ApplicationListener<LoginAttemptMessage>
lam
- the event to respond to
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.