This recipe presents you with how you can create the Resource Server that will be defined as the project jwe-resource. This project is available on GitHub in the Chapter05 folder and all you need to create this project is presented in the following steps:
- You can create the project jwe-resource at Spring Initializr, referencing Web and Security dependencies to easily set up the project.
- If you have created the project using Spring Initializr, import the generated source code as a Maven project into your IDE and add the following dependencies into the pom.xml:
<dependency> <groupId>org.springframework.security.oauth</groupId> <artifactId>spring-security-oauth2</artifactId> <version>2.2.0.RELEASE</version><!--$NO-MVN-MAN-VER$ ...