Interface ServerCustomizersFactory

All Known Implementing Classes:
BasicAuthenticationServerCustomizer.BasicAuthServerCustomizerFactory, ServerCustomizersFactory.ServerCustomizersFactoryImpl

public interface ServerCustomizersFactory
Creates customizers for the underlying Avatica HTTP server. Allows for fine grained control of authentication, etc.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    Factory that creates an empty list of customizers.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.calcite.avatica.server.ServerCustomizer<org.eclipse.jetty.server.Server>>
    createServerCustomizers(org.apache.hadoop.conf.Configuration conf, org.apache.calcite.avatica.server.AvaticaServerConfiguration avaticaServerConfiguration)
    Creates a list of customizers that will customize the server.
  • Method Details

    • createServerCustomizers

      List<org.apache.calcite.avatica.server.ServerCustomizer<org.eclipse.jetty.server.Server>> createServerCustomizers(org.apache.hadoop.conf.Configuration conf, org.apache.calcite.avatica.server.AvaticaServerConfiguration avaticaServerConfiguration)
      Creates a list of customizers that will customize the server.
      Parameters:
      conf - Configuration to use
      avaticaServerConfiguration - to use in case custom-auth is enabled
      Returns:
      List of server suctomizers