ep.12 JWT에서 정보를 추출하여 로그인한 회원 확인하기
·
개발/Team Project
로그인 기능을 Spring Security와 JWT를 이용하여 구현했다.. 코드를 Git Repository에 Pull Request 하고...  팀원들과 공유했다.각자의 개발환경에서 로그인 기능을 이용해본 3명의 팀원 모두 로그인 하고나서 회원 정보를 어떻게 알 수 있냐는 공통된 질문을 했다. 필자는 로그인 기능을 구현하면서 Spring Security와 JWT에 대해 공부를 하면서 작업했지만 팀원들은 각자의 기능에 대해 공부를 하면서 기능을 구현했기에 JWT가 무엇인지, Spring Security가 어떻게 작동되는지는 알지 못한다. 그래서 필자는 팀원들이 JWT에 포함되어 있는 회원의 계정 정보를 이용하여 회원의 모든 정보를 가져올 수 있는 코드를 작성해 보았다. 이제 코드를 보며 같이 알아가 보자..
[Spring Security] 기본 개념과 구조
·
개발/Spring
https://spring.io/projects/spring-security Spring SecuritySpring Security is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications. Spring Security is a framework that focuses on providing both authentication and authorizspring.io1. 사용자 정의가 가능한 인증 및 액세스 제어 프레임워크이다.2. 자바 애플리케이션에 인증과 인가를 제공하는 데 중점을 둔 프레임워크..
김현중 (keemhing)
'authentication' 태그의 글 목록