- OAuth 2.0 Cookbook
- Adolfo Eloy Nascimento
- 216字
- 2021-07-08 09:35:00
How it works...
Because of the usage of Spring Boot we can take advantage of projects like Spring MVC and Spring Security. These Spring projects help us to write web applications, REST APIs, and help us to secure our applications. By using the Spring Security OAuth2 project, for example, we can configure our own OAuth 2.0 Providers in addition, to act like clients. This is important because someone trying to write his own OAuth Provider will have to deal with too many details which could easily lead to an insecure OAuth Provider. Spring Security OAuth2 already addresses the main concerns any developer would have to think about.
In addition, Spring Boot eases the initial steps for the bootstrap of the application. When creating a Spring project without Spring Boot we need to deal with dependencies manually by taking care of possible library conflicts. To solve this problem, Spring Boot has some pre-configured modules provided by starters. As an example of a useful starter, let's consider an application with Spring Data JPA. Instead of declaring all the dependencies for hibernate, entity-manager, and transaction-api, just by declaring spring-boot-starter-data-jpa all the dependencies will be imported automatically.
While starting using Spring Boot, things can still become easier by using the Spring Initializr service provided by Pivotal (the Spring maintainer now).
- Java應(yīng)用與實(shí)戰(zhàn)
- Vue.js 3.x從入門到精通(視頻教學(xué)版)
- 軟件測(cè)試項(xiàng)目實(shí)戰(zhàn)之性能測(cè)試篇
- SQL語言從入門到精通
- Java開發(fā)入行真功夫
- 區(qū)塊鏈:以太坊DApp開發(fā)實(shí)戰(zhàn)
- Java 11 Cookbook
- Python從入門到精通(第3版)
- Java程序設(shè)計(jì)教程
- React and React Native
- 優(yōu)化驅(qū)動(dòng)的設(shè)計(jì)方法
- Java項(xiàng)目驅(qū)動(dòng)開發(fā)教程
- 微軟辦公軟件認(rèn)證考試MOS Access 2013實(shí)訓(xùn)教程
- 數(shù)據(jù)分析從入門到進(jìn)階
- Visual FoxPro程序設(shè)計(jì)教程(第3版)