br.com.jhonsapp.bootstrap.property.BootstrapUserProperty Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bootstrap-user Show documentation
Show all versions of bootstrap-user Show documentation
A complete architecture for creating and managing users.
package br.com.jhonsapp.bootstrap.property;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties("bootstrap-user")
public class BootstrapUserProperty {
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;
}
}
}