springboot 환경설정 메모 (ver 1.5.22)

By | 9월 23, 2021

web환경 (servlet..)을 제거하는 설정

  • application.yml
    spring:
      main:
        web-environment: false


spring security 를 제거하는 설정

  • 기동 클래스
    @SpringBootApplication(exclude = { SecurityAutoConfiguration.class })
  • application.yml
    security:
      basic:
        enabled: false
    management:
      security:
        enabled: false
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments