Interface AuthConfiguration

All Superinterfaces:
io.dropwizard.jackson.Discoverable
All Known Implementing Classes:
BasicAuthConfiguration

public interface AuthConfiguration extends io.dropwizard.jackson.Discoverable
Provides the base interface for AuthConfiguration objects. Implementing classes should be various types of HTTP authentication. Provides a method to set up authentication with a Dropwizard environment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerAuthentication​(io.dropwizard.setup.Environment environment)
    Registers all necessary authentication objects with the Dropwizard environment.
  • Method Details

    • registerAuthentication

      void registerAuthentication(io.dropwizard.setup.Environment environment)
      Registers all necessary authentication objects with the Dropwizard environment.
      Parameters:
      environment - the Dropwizard environment to set up