ome.security.auth
Class LoginAttemptListener
java.lang.Object
ome.security.auth.LoginAttemptListener
- All Implemented Interfaces:
- EventListener, org.springframework.context.ApplicationListener<LoginAttemptMessage>
public class LoginAttemptListener
- extends Object
- implements org.springframework.context.ApplicationListener<LoginAttemptMessage>
Listens for any 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.
- Since:
- 4.2.1
- Author:
- Josh Moore, josh at glencoesoftware.com
- See Also:
SecuritySystem
,
Permissions
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginAttemptListener
public LoginAttemptListener(int throttleCount,
long throttleTime)
onApplicationEvent
public void onApplicationEvent(LoginAttemptMessage lam)
- Specified by:
onApplicationEvent
in interface org.springframework.context.ApplicationListener<LoginAttemptMessage>
OmeroJava Api
Version: 4.3.4-dbcbce5a-b4
Copyright © 2009 The University of Dundee. All Rights Reserved.