
br.com.jhonsapp.bootstrap.authentication.property.SystemProperty Maven / Gradle / Ivy
package br.com.jhonsapp.bootstrap.authentication.property;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("system")
public class SystemProperty {
private final Security security = new Security();
public Security getSecurity() {
return security;
}
public static class Security {
private boolean enableHttps = false;
private String originAllowed = "http://localhost:8000";
public boolean isEnableHttps() {
return enableHttps;
}
public void setEnableHttps(boolean enableHttps) {
this.enableHttps = enableHttps;
}
public String getOriginAllowed() {
return originAllowed;
}
public void setOriginAllowed(String originAllowed) {
this.originAllowed = originAllowed;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy