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 authentication-server, resource server, edge service, admin service and admin website.
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/admin/
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.
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
.