Apache servicecomb security module for java-chassis

Clone this repo:
  1. 142d3d6 make integration tests run by liubao · 3 days ago master
  2. 9558d04 configure ROOT and edge mapping by liubao · 3 days ago
  3. 2941f80 extract apis by liubao · 3 days ago
  4. a893f88 fix not response when auth fail by liubao · 8 days ago
  5. af8fe1e update to 3.x part2: spring boot by liubao · 9 days ago

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

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.

Contact Us