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 ClassesModifier and TypeInterfaceDescriptionstatic classFactory that creates an empty list of customizers. -
Method Summary
Modifier and TypeMethodDescriptionList<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 useavaticaServerConfiguration- to use in case custom-auth is enabled- Returns:
- List of server suctomizers
-