tree: 8941374097e102bf55f80dd02464bb6e7725166e [path history] [tgz]
  1. admin-service/
  2. admin-website/
  3. apis/
  4. authentication-server/
  5. common/
  6. docs/
  7. edge-service/
  8. integration-tests/
  9. resource-server/
  10. scaffolding/
  11. .gitignore
  12. build_and_run.bat
  13. pom.xml
  14. README.md
  15. 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, edge service, admin service and admin website.

  • 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/admin/
  • Run tests

After services are started, try

cd %HOME%\integration-tests\target
start java -jar integration-tests-0.0.1-SNAPSHOT.jar

This test will token several seconds. See implementations of TestCase for testing details.

  • Observability

After login, Cloud Service capapi -> Problem Locating . Input Trace-Id and 大概时间 can search invocation chain logs and related application logs. Using 查看日志查看Metrics able to download logs and metrics.

Tips: Using debug window of browsers can find trace id in HTTP response headers, e.g. X-B3-Traceid:86560bc39a54d498.

Contact Us