net.leanix.dropkit.ConfigurationAuthServer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leanix-dropkit Show documentation
Show all versions of leanix-dropkit Show documentation
Base functionality for leanIX dropwizard-based services
package net.leanix.dropkit;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.dropwizard.Configuration;
import net.leanix.dropkit.oauth.OAuth2AuthServerConfig;
/**
* This configuration is to be used by oAuth Server, i.e. mtm
*
* @author andre
*/
public class ConfigurationAuthServer extends Configuration {
protected OAuth2AuthServerConfig oauth = new OAuth2AuthServerConfig();
/**
* Returns the necessary configuration to run oauth resource providers.
*
* Values can be empty.
*
* @return
*/
@JsonProperty("oauth")
public OAuth2AuthServerConfig getOAuth2TokenConfig() {
return oauth;
}
@JsonProperty("oauth")
public void setOAuth2TokenConfig(OAuth2AuthServerConfig oAuth) {
this.oauth = oAuth;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy