commit | 74bb155b8b2e89043a72e5c28cf6cdc36e80bb66 | [log] [tgz] |
---|---|---|
author | liubao <bismy@qq.com> | Thu May 14 15:26:36 2020 +0800 |
committer | bao liu <bismy@qq.com> | Thu May 14 15:28:16 2020 +0800 |
tree | e604bd94f8f42a76cf02db08a7085434c87efc7e | |
parent | 0d116c031852bae520f4a5a6a00dfb54f1dc6f65 [diff] |
[SCB-1827] upgrade servicecomb-fence to use servicecomb 2.0.2
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.
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.
Authentication Server uses MySql database. Install database first, and initialize it by executing authentication-server\src\main\resources\sql\user.sql .
build_and_run.bat
Can open this file with a text editor to check what it is done.
Using admin/changeMyPassword login to the demo pages, and try operations.
http://localhost:9090/ui/login.html
After services are started, try
http://localhost:9093/v1/test/start
This test will token several seconds. See AuthenticationTestCase for testing details.