- Spring Security 5.7.1 (Spring Boot 2.7.0)
- Java Servlet Application을 지원
기본 기능
기본 동작
- 모든 어플리케이션 동작에 인증을 요구함
- 로그인 폼 자동 생성
- BCrypt로 암호 저장소를 보호함
- 로그아웃 기능 지원
- CSRF 방어
- 보안 관련 헤더 지원
기본 설정
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
Cache Control
- 캐싱을 비활성화함
- 자체적으로 캐시 헤더를 제공하더라도 Security와의 충돌은 없음
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
Content Type
X-Content-Type-Options: nosniff
HSTS
Strict-Transport-Security: max-age=31536000 ; includeSubDomains ; preload
X-Frame-Options
X-Frame-Options: DENY
X-XSS-Protection
X-XSS-Protection: 1; mode=block