Skip to content

[Refactor] 유저 인증 정보를 Controller에서 처리하는 방식 변경 #169

@tjdwns5063

Description

@tjdwns5063

Description

  • 현재는 @RequestHeader 어노테이션으로 Authorization 헤더에서 token 값을 복호화해서 사용중이다.

  • 하지만 이는, 불필요하게 토큰을 두번 까보는 일이므로 SpringSecurity에 등록한 Authentication 객체를 사용하도록 리팩터링 진행 필요

  • interceptor와 Spring WEB MVC와의 관계(출처)

    image

To do

  • SpringSecurity에 등록한 Authentication 객체를 사용하도록 리팩터링

Metadata

Metadata

Assignees

Labels

♻️ refactorRewrite the code without changing external behavior

Type

No type

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions