OAuth 2.0 Resource Server MAC & RSA 토큰 검증 - JwtAuthorizationMacFilter

SecuritySigner
MAC(대칭) 또는 RSA(비대칭) 암호화 방식에 따라 토큰을 발행하는 추상 클래스
MacSecuritySigner
MAC 방식으로 토큰을 발행하는 클래스
SignatureConfig
JWK의 구현체인 OctetSequenceKey 생성
JwtAuthenticationFilter
사용자 승인 및 토큰 발행 필터
대칭키 암호화 방식으로 JWT를 생성한다.
JwtAuthorizationMacFilter
토큰을 검증하는 필터
MAC 방식 전용 필터이므로 구체 클래스인
OctetSequenceKey를 갖고 있어도 무방클레임 정보를 이용해 인증 객체 생성 후 저장
SecurityConfig
이전 ↩️ - OAuth 2.0 Resource Server MAC & RSA 토큰 검증 - 기본 환경 및 공통 클래스 구성
다음 ↪️ - OAuth 2.0 Resource Server MAC & RSA 토큰 검증 - JwtDecoder 에 의한 검증(MAC)
PreviousOAuth 2.0 Resource Server MAC & RSA 토큰 검증 - JwkSetUri 에 의한 검증(RSA)NextOAuth 2.0 Resource Server MAC & RSA 토큰 검증 - JwtAuthorizationRsaFilter(RSA)
Last updated