Class IPLibraryAccessor

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

public class IPLibraryAccessor extends Object
Access the IP library through reflection to use the proper classloader.
  • Constructor Details

    • IPLibraryAccessor

      public IPLibraryAccessor(ClassLoader libraryClassLoader)
  • Method Details

    • isAllowed

      public boolean isAllowed(String accessAddress, List<String> allowedAddresses)
    • isWithin

      public boolean isWithin(Object range, Object accessAddress, Class<?> ipAddressClass)