public interface RemoteAddressBlockHandler
| Modifier and Type | Method and Description |
|---|---|
void |
clearFailures(java.lang.String remoteAddress)
Clears all failures for the given remote address
|
boolean |
isBlocked(java.lang.String remoteAddress)
Returns whether the given remote address is blocked
|
boolean |
recordFailure(java.lang.String remoteAddress,
UserLocatorVO locator,
java.lang.Integer attempts,
TimeInterval blockTime)
Create a new record for the given remote address and user locator, returning whether the remote address is now blocked given the maximum number
of attempts and block time (both can be null)
|
void clearFailures(java.lang.String remoteAddress)
throws FrameworkException
FrameworkExceptionboolean isBlocked(java.lang.String remoteAddress)
throws FrameworkException
FrameworkExceptionboolean recordFailure(java.lang.String remoteAddress,
UserLocatorVO locator,
java.lang.Integer attempts,
TimeInterval blockTime)
throws FrameworkException
FrameworkException