Class BaseLicenseCheckHttpServerFilter

java.lang.Object
org.gridgain.internal.rest.BaseLicenseCheckHttpServerFilter
All Implemented Interfaces:
io.micronaut.core.order.Ordered, io.micronaut.http.filter.HttpFilter, io.micronaut.http.filter.HttpServerFilter, org.apache.ignite.internal.rest.ResourceHolder
Direct Known Subclasses:
JwtLicenseCheckHttpServerFilter, RbacManagementLicenseCheckHttpServerFilter

public abstract class BaseLicenseCheckHttpServerFilter extends Object implements io.micronaut.http.filter.HttpServerFilter, org.apache.ignite.internal.rest.ResourceHolder
Filters out endpoints that are not allowed to be accessed when security is disabled.
  • Field Summary

    Fields inherited from interface io.micronaut.core.order.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    BaseLicenseCheckHttpServerFilter(org.gridgain.internal.license.LicenseFeatureChecker licenseFeatureChecker)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>>
    doFilter(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.filter.ServerFilterChain chain)
     
    protected abstract Set<org.gridgain.internal.license.LicenseFeature>
     
    int
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.http.filter.HttpServerFilter

    doFilter
  • Constructor Details

    • BaseLicenseCheckHttpServerFilter

      protected BaseLicenseCheckHttpServerFilter(org.gridgain.internal.license.LicenseFeatureChecker licenseFeatureChecker)
  • Method Details

    • features

      protected abstract Set<org.gridgain.internal.license.LicenseFeature> features()
    • doFilter

      public org.reactivestreams.Publisher<io.micronaut.http.MutableHttpResponse<?>> doFilter(io.micronaut.http.HttpRequest<?> request, io.micronaut.http.filter.ServerFilterChain chain)
      Specified by:
      doFilter in interface io.micronaut.http.filter.HttpServerFilter
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface io.micronaut.core.order.Ordered
    • cleanResources

      public void cleanResources()
      Specified by:
      cleanResources in interface org.apache.ignite.internal.rest.ResourceHolder