Class IpAllowListMatcher

java.lang.Object
com.djrapitops.plan.delivery.webserver.configuration.IpAllowListMatcher

@Singleton public class IpAllowListMatcher extends Object
Uses ipaddress library to support multiple formats of IP address ranges.
  • Constructor Details

    • IpAllowListMatcher

      @Inject public IpAllowListMatcher(net.playeranalytics.plugin.server.PluginLogger logger, PlanFiles files, AddressAllowList addressAllowList)
  • Method Details

    • prepare

      public void prepare()
    • isAllowed

      public boolean isAllowed(String accessAddress)
    • getDependencyResource

      protected List<String> getDependencyResource()