-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spring Security 인증/인가 구조 개편 및 GUEST 로그인 도입 완료 #456
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ER 이하 권한의 사용자는 중복 로그인이 허용됨.
mingmingmon
reviewed
Aug 12, 2024
src/main/java/page/clab/api/global/auth/filter/JwtAuthenticationFilter.java
Show resolved
Hide resolved
src/main/java/page/clab/api/domain/memberManagement/member/domain/Member.java
Show resolved
Hide resolved
mingmingmon
approved these changes
Aug 12, 2024
src/main/java/page/clab/api/global/auth/filter/JwtAuthenticationFilter.java
Show resolved
Hide resolved
|
SongJaeHoonn
approved these changes
Aug 12, 2024
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Spring Security 기반의 인증/인가 시스템을 개선하여 보안 정책을 강화하고, 사용자 경험을 개선하기 위한 작업을 진행했습니다. 이 PR에서는 네트워크 환경 변화에 따른 정책을 개편하고, GUEST 로그인 기능을 도입하였습니다. SUPER, ADMIN, USER 권한 체계에 GUEST 권한을 추가하여 보다 유연한 권한 관리를 구현했습니다.
Tasks
Spring Security 설정 변경
RoleHierarchy
설정을 통해 GUEST 권한을 SUPER, ADMIN, USER 아래에 배치.네트워크 감지 정책 개편
GUEST 계정 생성 및 자동 로그인 구현
Spring Security 마이그레이션
Reference