Skip to content

[spring-security] @AuthenticationPrincipal를 활용한 커스텀 어노테이션 추가 #1

Description

@shinsunyoung

현재 로그인 정보를 가져오는 커스텀 어노테이션을 추가한다.

  • 현재 로그인 정보를 담을 DTO 추가
  • loadUserByUsername() 리턴 타입 DTO로 수정
  • 커스텀 어노테이션 추가

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions