[SCB-1641]fix auth filter default token type error (#19)

3 files changed
tree: 0b2ac99098af80671572add683f07b5bc8f95d11
  1. api/
  2. authentication-server/
  3. docs/
  4. samples/
  5. .gitignore
  6. build_and_run.bat
  7. pom.xml
  8. README.md
  9. README_ZH.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 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.

  • 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

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.

  • Run tests

After services are started, try


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

Contact Us