This recipe shows you how to create the Authorization Server that will be defined as the jwe-server project. This project is available on GitHub in the Chapter05 folder and all that you will need to create this project is presented in the next steps:
- You can create the jwe-server project 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$ --> ...