너T야? 나 T(story)야….

  • 홈
  • 태그
  • 방명록

Security 2

Security - (3)

인가(authorization)특정한 경로에 요청이 오면 Controller 클래스에 도달하기 전 필터에서 Spring Security가 검증을 함 import org.springframework.context.annotation.Bean;import org.springframework.context.annotation.Configuration;import org.springframework.security.config.annotation.web.builders.HttpSecurity;import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;import org.springframework.securit..

Spring 2024.12.14

Security - 2

DisableEncodeUrlFilter 커스텀 SecurityFilterChain을 생성해도 등록되며 비활성은 아래와 같이 세션 관리 설정을 disable 하면 된다.http .sessionManagement((manage) -> manage.disable()); SecurityContextHolderFilter 필터가 등록되는 목적은 이전 요청을 통해 이미 인증한 사용자 정보를 현재 요청의 SecurityContextHolder의 SecurityContext에 할당하는 역할을 수행하고, 현재 요청이 끝나면 SecurityContext를 초기화 한다. 또 로그인을 할 필요가 없게끔 한다. http .securityContext((context) -> context...

Spring 2024.12.14
이전
1
다음
더보기
프로필사진

너T야? 나 T(story)야….

github : https://github.com/hyun4965

  • 분류 전체보기 (212) N
    • 컴퓨터 네트워크 (23)
    • 운영체제 (26)
    • 알고리즘 (4)
    • 자료구조 (0)
    • Java 정리 (8) N
    • 데이터베이스 (3)
    • 클라우드 (3)
    • 백준 (121)
    • 소프트웨어 공학 (0)
    • HTML (1)
    • Spring (7)
    • JPA (16)
    • 컴퓨터보안 (0)
    • 학교공부 (1)

Tag

네트워크 예외처리, 백준 2805, thread, 개발자유미, Security, Network, 스레드 풀과 executor 프레임워크, 백준 실버, 오블완, 컴퓨터 네트워킹 하향식 접근, 백준 11279, s3 bucket, 컴퓨터 네트워크, executor 프레임워크, 예외처리, shutdownhook, 티스토리챌린지, JPA, 백준, 데이터베이스,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30

방문자수Total

  • Today :
  • Yesterday :
Github

Copyright © Kakao Corp. All rights reserved.

티스토리툴바