[SCB-2733]provide edge service and resource server project (#36)

44 files changed
tree: a640bb7310f9ce35b82c755c7af8710aa2459af9
  1. api/
  2. authentication-server/
  3. docs/
  4. edge-service/
  5. integration-tests/
  6. resource-server/
  7. .gitignore
  8. build_and_run.bat
  9. pom.xml
  10. README.md
  11. README_ZH.md
README.md

Fence | 中文 License Gitter

This project is servicecomb-java-chassis security support. The main architecture is based on The OAuth 2.0 Authorization Framework and OpenID Connect. And provides APIs for developers based on Spring Security. Please see developers guide for details.

Authentication diagram

Authorization diagram

Project description

This project contains authentication-server, resource server and edge service.

  • Prepare

Authentication Server uses MySql database. Install database first, and initialize it by executing authentication-server\src\main\resources\sql\user.sql .

  • Build and run
build_and_run.bat

Can open this file with a text editor to check what it is done.

  • Demo web pages

Using admin/changeMyPassword login to the demo pages, and try operations.

http://localhost:9090/ui/login.html
  • Run tests

After services are started, try

http://localhost:9093/v1/test/start

This test will token several seconds. See AuthenticationTestCase for testing details.

Contact Us