WARN 3440 --- [backend] [ main] .s.s.UserDetailsServiceAutoConfiguration :
Using generated security password: e677f364-7108-4ed0-9da3-0dec155ed132
This generated password is for development use only. Your security configuration must be updated before running your application in production.
Spring Security 의존성을 추가하면 기본적으로 로그인 가능한 Id/Password를 제공한다.
Id는 user
Password는 Spring Boot를 실행할 때마다 자동으로 생성한 UUID 값으로 제공된다.
이 경고는 Spring Security가 자동으로 생성한 Password를 사용하고 있으며, 이는 개발 환경에서만 사용해야 한다는 경고이다.
따라서 application. properties에서 사용자 정의 Id/Password를 설정하여 강력한 보안 설정을 해야한다.
spring.security.user.name=your-username
spring.security.user.password=your-strong-password
'개인 프로젝트' 카테고리의 다른 글
401 Unauthorized (0) | 2024.07.26 |
---|---|
궁금 & 계속 까먹음.. (0) | 2024.07.25 |
[WARN] spring.jpa.open-in-view (0) | 2024.07.24 |
403 Forbidden (0) | 2024.07.24 |
Spring security 의존성 추가하고.... (0) | 2024.07.21 |