longbaobao / spring-security-oauth

Learn Spring Security Course:

Home Page:http://bit.ly/github-lss

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Security OAuth

Relevant Articles:

Build the Project

mvn clean install

Notes

  • This project consists of 4 main sub-modules, each sub-module is a Spring Boot Application running on specific port

    • spring-security-oauth-server (port = 8081)
    • spring-security-oauth-resource (port = 8082)
    • spring-security-oauth-ui-implicit (port = 8083)
    • spring-security-oauth-ui-password (port = 8084)
  • To run the project, run both spring-security-oauth-server and spring-security-oauth-resource first - then run any of the UI modules

  • You can run any sub-module using command line:

mvn spring-boot:run
  • spring-security-oauth-ui-password has "live" profile for live tests, in order to run it use the following command:
mvn clean install -Plive
  • spring-security-oauth-server has "mvc" profile for testing an OAuth-secured API with Spring MVC, in order to run it use the following command:
mvn clean install -Pmvc

About

Learn Spring Security Course:

http://bit.ly/github-lss


Languages

Language:Java 65.5%Language:JavaScript 24.7%Language:HTML 9.8%