Skip to content

JWT 기반 인증 및 인가 기능 구현 #6

@cie10

Description

@cie10

어떤 기능인가요?

Spring Security 6과 JWT를 활용하여 회원가입, 로그인, 인증/인가 시스템을 구현.

작업 상세 내용

  • Spring Security 설정 (SecurityConfig 구현)
    • JWT 기반 인증 필터 추가
    • CSRF 비활성화 및 세션 정책 설정
  • User 엔티티 및 리포지토리 생성
    • 사용자 데이터 관리
    • 역할 관리 (EMPLOYEE, EMPLOYER)
  • 회원가입 API 구현
    • Employer/ Employee 구분하여 저장
  • 로그인 API 구현
    • 로그인 성공 시 JWT 토큰 생성
  • 인증 필터 구현
    • JWTAuthenticationFilter 필터 구현
    • AOP 사용해서 역할 분리

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions