-
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
스프링 시큐리티 & 로그인 #23
base: develop
Are you sure you want to change the base?
스프링 시큐리티 & 로그인 #23
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요즘은 implementation말고 api로 하나요? 신기하네용
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
둘 다 사용하는데 implementation을 사용하면 다른 모듈에서 spring-data-jpa에 대한 의존성을 못찾아서 api로 변경했습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
그런데 api와 implementation의차이가 뭔가요? 위에서 보면
api project(':Common')
implementation project(':Domain')
이렇게 있던데 어떤 차이가 있어서 다른때 사용하나요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
api로 하면 의존성을 찾아주는 건가요? 알아서요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation을 사용하면 직접 참조하고 있는 모듈에만 접근할 수 있는데 api를 사용하면 직접/간접 참조하고 있는 모듈에 모두 접근할 수 있어요. 자세한 내용은 오류 페이지에 정리해뒀어요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
네 조아요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
왜 갑자기 이렇게 바꾼건가요?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ㅎㅎ 수정했습니다
주요 변경 사항
1. Spring Security 설정
2. JWT 유틸리티 클래스 구현
3. 일반 로그인 기능 구현
4. 단위 테스트 추가
관련 이슈
[#12] 스프링 필터 등록