Apache servicecomb security module for java-chassis

Clone this repo:
  1. 8c8abc6 [SCB-2740]refactor folder structure and api (#46) by liubao68 · 1 year, 5 months ago master
  2. 283ab45 Bump spring-security-oauth2 in /api/common/service (#45) by dependabot[bot] · 1 year, 5 months ago
  3. c304e7b Bump spring-security-oauth2 in /authentication-server (#44) by dependabot[bot] · 1 year, 5 months ago
  4. 77e6c49 Bump mybatis from 3.4.5 to 3.5.6 in /authentication-server (#43) by dependabot[bot] · 1 year, 5 months ago
  5. b6921ea Bump mysql-connector-java from 5.1.46 to 8.0.28 in /integration-tests (#40) by dependabot[bot] · 1 year, 5 months 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

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

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

Contact Us