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

de.objektkontor.wsc.container.common.config.TLSConfig Maven / Gradle / Ivy

package de.objektkontor.wsc.container.common.config;

import de.objektkontor.config.annotation.ConfigParameter;


public class TLSConfig {

    @ConfigParameter
    private boolean enabled = false;

    @ConfigParameter
    private String keystoreLocation;

    @ConfigParameter
    private String keystorePassword;

    @ConfigParameter
    private String truststoreLocation;

    @ConfigParameter
    private String truststorePassword;

    public String getKeystoreLocation() {
        return keystoreLocation;
    }

    public TLSConfig setKeystoreLocation(String keystoreLocation) {
        this.keystoreLocation = keystoreLocation;
        return this;
    }

    public String getKeystorePassword() {
        return keystorePassword;
    }

    public TLSConfig setKeystorePassword(String keystorePassword) {
        this.keystorePassword = keystorePassword;
        return this;
    }

    public boolean isEnabled() {
        return enabled;
    }

    public TLSConfig setEnabled(boolean enabled) {
        this.enabled = enabled;
        return this;
    }

    public String getTruststoreLocation() {
        return truststoreLocation;
    }

    public TLSConfig setTruststoreLocation(String truststoreLocation) {
        this.truststoreLocation = truststoreLocation;
        return this;
    }

    public String getTruststorePassword() {
        return truststorePassword;
    }

    public TLSConfig setTruststorePassword(String truststorePassword) {
        this.truststorePassword = truststorePassword;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy