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

br.com.jhonsapp.bootstrap.property.BootstrapUserProperty Maven / Gradle / Ivy

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy