[SCB-1556]updagrad fence of java-chassis dependency to 1.3.0 and fix old pom problems
11 files changed
tree: eac2fc77cd235ae735a12dfd10bbd50ae3010027
  1. .gitignore
  2. README.md
  3. README_ZH.md
  4. api/
  5. authentication-server/
  6. build_and_run.bat
  7. docs/
  8. pom.xml
  9. samples/
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 api, authentication-server and samples folders. Api folder contains components used in Authentication Server, Edge Service and Resource Server. Authentcation Server imeplentation is based on api. And samples folder gives a working example showing how to use these apis.

  • 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