Package io.antmedia.filter
Class IPFilterDashboard
java.lang.Object
io.antmedia.filter.AbstractFilter
io.antmedia.filter.IPFilterDashboard
- All Implemented Interfaces:
jakarta.servlet.Filter
-
Field Summary
FieldsFields inherited from class io.antmedia.filter.AbstractFilter
BROADCAST_OBJECT, config, streamStats
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
doFilter
(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) boolean
isAllowedDashboard
(String remoteIPAddress) Methods inherited from class io.antmedia.filter.AbstractFilter
checkCIDRList, destroy, getAntMediaApplicationAdapter, getAppContext, getAppSettings, getBroadcast, getConfig, getDataStore, getServerSettings, getStreamStats, getTokenService, getWebApplicationContext, init, setConfig, setTokenService
-
Field Details
-
logger
protected static org.slf4j.Logger logger
-
-
Constructor Details
-
IPFilterDashboard
public IPFilterDashboard()
-
-
Method Details
-
doFilter
public void doFilter(jakarta.servlet.ServletRequest request, jakarta.servlet.ServletResponse response, jakarta.servlet.FilterChain chain) throws IOException, jakarta.servlet.ServletException - Throws:
IOException
jakarta.servlet.ServletException
-
isAllowedDashboard
-