Skip to content

[ 가맹점 서버 구현 ] > 가맹점 도메인 개발 #16

@IMWoo94

Description

@IMWoo94

#14

배달 플랫폼 가맹점 서버 구현

가맹점 도메인 개발

  • Store User Entity
    image

    • StoreUserRole 은 Enum 으로 [ Master, Admin, User ] 3 가지 역할로 나누어 지며, 이를 통해서 인증 및 권한 부여에 사용됩니다.

가맹점 서비스 로직 구현

  • 가맹점 가입 ( 구현 완료 )
    • 가맹점 가입 시 Password 부분 암호화 처리 [ BCryptPasswordEncoder 단방향 해시 + Salt ]
  • 가맹점 로그인 ( 구현 완료 )
    • Spring Security 에서 제공하는 UserDetailsService 를 상속받아, 이메일 정보로 가맹점 정보를 가져와 등록
    • 인증 객체 정보 확장 UserDetails 를 상속받은 UserSession 생성

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions