spring
Spring-Boot: Accessing Properties
If you are using spring-boot and want to access properties from your properties- or yaml-file you can do that like this: package xxx.xxx.security.config; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; import lombok.Getter; import lombok.Setter; @Getter @Setter @Configuration @ConfigurationProperties("