Skip to content
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

#132 [feat] principal null exception 해결 및 secure url 로직 분리 #135

Merged
merged 3 commits into from
Jan 16, 2024

Conversation

sohyundoh
Copy link
Member

✒️ 관련 이슈번호

Key Changes 🔑

  • 기존에 사용하던 principal.getName은 NullPointerException 을 발생시킬 수 있어 SecurityContenxt에서 Principal을 가져오는 방식으로 변경했습니다. 만일 로그인을 하지 않은 상태로 API 요청을 하게 되면 anonymousUser가 되기 때문에 이를 검사하고 체크해주는 로직으로 변경했습니다.
  • 또한, url인코딩 로직을 분리하고 이를 사용했습니다!

To Reviewers 📢

  • 아자자!

@sohyundoh sohyundoh self-assigned this Jan 16, 2024
Copy link
Contributor

@parkheeddong parkheeddong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

굿굿 고생하셨습니다!

@sohyundoh sohyundoh merged commit 1a58ef1 into develop Jan 16, 2024
1 check passed
@sohyundoh sohyundoh deleted the feat/#132 branch January 16, 2024 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] principle == null 일 때 예외 처리
2 participants