Dev Blog
close
프로필 배경
프로필 로고

Dev Blog

mode_edit_outline글작성 settings환경설정
  • 분류 전체보기
    • 백엔드
      • JAVA
      • Spring
      • Spring Boot
      • JPA
      • DB
      • etc
    • 프론트엔드
      • HTML
      • CSS
      • JS
      • React
      • TIL
  • 홈
  • 깃허브
UsernamePasswordAuthenticationFilter를 이용한 Spring Security와 JWT 적용

UsernamePasswordAuthenticationFilter를 이용한 Spring Security와 JWT 적용

pom.xml org.springframework.boot spring-boot-starter-security io.jsonwebtoken jjwt 0.9.1 -장정우님의 스프링 부트 핵심 가이드라는 책을 보고 정리하였습니다.- 1. 클라이언트로부터 요청을 받으면 서블릿 필터에서 SecurityFilterChain으로 작업이 위임되고 그중 UsernamePasswordAuthenticationFilter(위 그림에서는 AuthenticationFilter에 해당한다.)에서 인증을 처리한다. 2. AuthenticationFilter는 요청 객체(HttpServletRequest)에서 username과 password를 추출해서 토큰을 생성한다. 3. 그러고 나서 AuthenticationManager에게..

  • format_list_bulleted Spring Boot
  • · 2023. 5. 26.
  • textsms
  • navigate_before
  • 1
  • navigate_next
전체 카테고리
  • 분류 전체보기
    • 백엔드
      • JAVA
      • Spring
      • Spring Boot
      • JPA
      • DB
      • etc
    • 프론트엔드
      • HTML
      • CSS
      • JS
      • React
      • TIL
최근 글
인기 글
최근 댓글
태그
  • #아키텍쳐
  • #스프링
  • #UsernamePasswordAuthenticationFilter
  • #RedirectAttributes
  • #Spring Security
  • #thymeleaf
  • #스프링 부트 핵심 가이드
  • #static final
  • #jwt
  • #springboot
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.