public class Isenguard extends Object implements sirius.web.http.Firewall
Modifier and Type | Field and Description |
---|---|
static String |
FRAMEWORK_ISENGUARD |
Constructor and Description |
---|
Isenguard() |
Modifier and Type | Method and Description |
---|---|
void |
blockIP(String ipAddress) |
boolean |
handleRateLimiting(sirius.web.http.WebContext ctx,
String realm) |
boolean |
isIPBlacklisted(sirius.web.http.WebContext ctx) |
boolean |
isRateLimitReached(String ip,
String realm) |
boolean |
isRateLimitReached(String ip,
String realm,
int limit) |
void |
reportNegativeEvent(String ipAddress) |
void |
unblockIP(String ipAddress) |
public static final String FRAMEWORK_ISENGUARD
public boolean isIPBlacklisted(sirius.web.http.WebContext ctx)
isIPBlacklisted
in interface sirius.web.http.Firewall
public void blockIP(String ipAddress)
public void unblockIP(String ipAddress)
public void reportNegativeEvent(String ipAddress)
public boolean handleRateLimiting(sirius.web.http.WebContext ctx, String realm)
handleRateLimiting
in interface sirius.web.http.Firewall
Copyright © 2018. All rights reserved.