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

org.openmetadata.service.config.OMWebConfiguration Maven / Gradle / Ivy

There is a newer version: 1.5.11
Show newest version
package org.openmetadata.service.config;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.web.conf.WebConfiguration;

public class OMWebConfiguration extends WebConfiguration {

  @JsonProperty("referrer-policy")
  private ReferrerPolicyHeaderFactory referrerPolicyHeaderFactory;

  @JsonProperty("permission-policy")
  private PermissionPolicyHeaderFactory permissionPolicyHeaderFactory;

  public OMWebConfiguration() {}

  public ReferrerPolicyHeaderFactory getReferrerPolicyHeaderFactory() {
    return this.referrerPolicyHeaderFactory;
  }

  public void setReferrerPolicyHeaderFactory(
      ReferrerPolicyHeaderFactory referrerPolicyHeaderFactory) {
    this.referrerPolicyHeaderFactory = referrerPolicyHeaderFactory;
  }

  public PermissionPolicyHeaderFactory getPermissionPolicyHeaderFactory() {
    return this.permissionPolicyHeaderFactory;
  }

  public void setPermissionPolicyHeaderFactory(
      PermissionPolicyHeaderFactory permissionPolicyHeaderFactory) {
    this.permissionPolicyHeaderFactory = permissionPolicyHeaderFactory;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy