[SCB-1420]provide authentication server for use(change project pom structure) (#10)

[SCB-1420]provide authentication server for use(change project pom structure) (#10)
19 files changed
tree: e87c4fd864f1f41e4c04d8564e62888a3ff6cc87
  1. .gitignore
  2. README.md
  3. README_ZH.md
  4. api/
  5. authentication-server/
  6. docs/
  7. pom.xml
  8. 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 two folders api and samples. Api folder contains components used in Authentication Server, Edge Service and Resource Server. And samples folder gives a working example showing how to use these apis.

  • Build and run
cd samples
mvn clean install

After build, the Authentication Server, Resource Server, Edge Service and Testing Client runnable jar are generated, start and run the four services.

  • 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

see AuthenticationTestCase for testing details.

Contact Us