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

net.leanix.dropkit.ConfigurationAuthServer Maven / Gradle / Ivy

There is a newer version: 2.0.10
Show newest version
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