Technologies used:
1. Spring Boot 1.5.6.RELEASE
2. Maven 4
3. Java 8
4. Eclipse: Oxygen.1.a Release (4.7.1a)
5. Tomcat 8.5
Code on GitHub:
https://github.com/HenryXiloj/Spring-Boot-Security-RestAPI-OAuth2
Proyect.
Steps:
1. Import maven proyect in eclipse.
2. Right click on Spring-Boot-Security-RestAPI-OAuth2 project -Run as -> Run on Server.
3. package: com.hxiloj.controller -> RestClient.java -> Right click on Class -> Run as -> Java Application
References: http://websystique.com/spring-security/secure-spring-rest-api-using-oauth2/
https://github.com/HenryXiloj/Spring-Boot-Security-RestAPI-OAuth2
Proyect.
Steps:
1. Import maven proyect in eclipse.
2. Right click on Spring-Boot-Security-RestAPI-OAuth2 project -Run as -> Run on Server.
3. package: com.hxiloj.controller -> RestClient.java -> Right click on Class -> Run as -> Java Application
References: http://websystique.com/spring-security/secure-spring-rest-api-using-oauth2/