일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- apache
- g1
- 페이스북
- 스프링 부트
- 스프링
- oauth2
- 스프링부트
- 비동기
- 권한
- RabbitMQ
- spring boot
- gdg
- JPA
- tomcat
- 리팩토링
- GC
- assertj
- 시큐리티
- 페이징
- java
- clean code
- Spring
- 클린코드
- JWT
- load balancing
- Producer
- Security
- jvm
- OAuth
- Refactoring
- Today
- Total
목록시큐리티 (2)
허원철의 개발 블로그
이번 글을 spring boot 에 security OAuth2 를 다룬 글 입니다. 최근, 웹 또는 앱에서 가장 많이 접하는 인증 형태가 바로 OAuth2 형태입니다.예를 들면, 페이스북 인증, 구글 인증, 다음 인증, 네이버 인증 등 이 될 수 있습니다. 1. Gradle 설정2. Properties 설정3. Application 설정4. Controller 설정5. 테스트5. DB 연동 1. Gradle 설정- security 에서 spring-sesurity-oauth2 를 추가 선언 해줍니다.dependencies { compile('mysql:mysql-connector-java') compile('org.springframework.boot:spring-boot-starter-data-jpa..
이번 게시물은 spring boot + jpa + security 에 대한 글입니다. http://www.slideshare.net/meadunhansa/ss-53303729이 자료를 많이 참고 하였습니다. 1. Gradle 설정2. Password 객체 등록3. Entity 와 Repository 생성4. security config 설정5. userDetailsService 추가6. 회원가입 및 로그인 1. Gradle 설정- 이전 게시물과 비교해 보면 security 라는 것이 추가 됩니다.dependencies { compile('org.springframework.boot:spring-boot-starter-data-jpa') compile('org.springframework.boot:spri..