All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kmwllc.lucille.config.LucilleAPIConfiguration Maven / Gradle / Ivy

package com.kmwllc.lucille.config;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.core.Configuration;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;

// Empty Custom Configuration Class for if we want to extend the Dropwizard Configuration moving forward
// https://www.dropwizard.io/en/stable/manual/configuration.html#man-configuration
public class LucilleAPIConfiguration extends Configuration {

  @Valid
  @NotNull
  private AuthConfiguration authConfig;

  @JsonProperty("auth")
  public AuthConfiguration getAuthConfig() {
    return this.authConfig;
  }

  @JsonProperty("auth")
  public void setAuthConfig(AuthConfiguration authConfig) {
    this.authConfig = authConfig;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy