provide default authentication service implementation
3 files changed
tree: ec5fed8c7965dc761b17d0c7968f1ab36ef34432
  1. authentication/
  2. dependency_management/
  3. porter_lightweight/
  4. .gitignore
  5. LICENSE
  6. NOTICE
  7. README.md
README.md

ServiceComb samples

authentication

A sample shows how to integrate with spring security. This project provides handler authorization and method authorization.

porter_lightweight

A sample shows an application with basic login, download file, delete file functions.

dependency_management

A sample shows how to use dependency management to create spring 4, spring 5, spring boot 1 or spring boot 2 application.

使用ServiceComb开发微服务的示例项目

authentication

该项目演示了基于spring security框架实现认证鉴权。项目演示了如何通过配置的方式定义每个接口的权限,也演示了如何通过@PreAuthorize的方式实现权限控制。

porter_lightweight

该项目演示了一个包括网关、文件下载、认证鉴权等功能的简单应用系统,同时演示了ServiceComb推荐的先写接口声明,再写业务代码的软件工程实践。

dependency_management

该项目演示了ServiceComb如何依赖spring4, spring 5, spring boot1 和 spring boot 2。