Spring Security를 적용하면 매 실행시 마다 임시 사용자에 대한 비밀번호가 콘솔에 출력됩니다. 해당 비밀번호가 더이상 출력되지 않도록 하기 위해서는 아래와 같이 적용하면 더이상 출력되지 않습니다.
application.yml
spring:
autoconfigure:
exclude: org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration
'Spring Boot' 카테고리의 다른 글
[Security] Security Exception (0) | 2023.10.17 |
---|---|
[Security] 폼 로그인 구현 (0) | 2023.10.12 |
[Security] 스프링 시큐리티 아키텍처 (0) | 2023.10.12 |