All Projects → choerodon → iam-service

choerodon / iam-service

Licence: Apache-2.0 license
IAM Service is used for the management of user, role, permission, organization, project, password policy, fast code, client, menu, icon, multi-language , and supports for importing third-party users through LDAP.

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
groovy
2714 projects
CSS
56736 projects
shell
77523 projects
Smarty
1635 projects

Projects that are alternatives of or similar to iam-service

choerodon-oauth
This service is the authorized authentication center of the choerodon microservices framework and is mainly responsible for user privilege and authorization.
Stars: ✭ 19 (-51.28%)
Mutual labels:  spring-cloud, spring-oauth2, choerodon, c7nf
go-register-server
The microservice registration is implemented by monitoring the state changes of the k8s pod, and pull the interface in the spring cloud eureka client service list.
Stars: ✭ 14 (-64.1%)
Mutual labels:  spring-cloud, spring-cloud-eureka, choerodon, c7nf
choerodon-framework
Choerodon Microservices Framework.
Stars: ✭ 87 (+123.08%)
Mutual labels:  spring-cloud, choerodon, c7nf
CoSky
High-performance, low-cost microservice governance platform. Service Discovery and Configuration Service | 高性能、低成本微服务治理平台
Stars: ✭ 57 (+46.15%)
Mutual labels:  spring-cloud, spring-cloud-eureka
spring-cloud-examples
🎏 Personal learning use cases.
Stars: ✭ 33 (-15.38%)
Mutual labels:  spring-cloud, spring-oauth2
gitlab-service
Gitlab Service is responsible for establishing communication with GitLab, handling GitLab related logic and forwarding it to other services.
Stars: ✭ 15 (-61.54%)
Mutual labels:  spring-cloud, choerodon
robert
基于SpringCloud的企业级微服务多租户系统、多语言的脚手架, 代码组件化、高内聚低耦合,代码简介,注释丰富容易上手,该项目包括用于开发分布式应用程序服务的必要组件,支持多应用程序访问,并使开发人员可以轻松地使用Spring Cloud编程模型来开发分布式应用程序服务。
Stars: ✭ 45 (+15.38%)
Mutual labels:  spring-cloud
spring-cloud-repository
spring-cloud学习的demo记录
Stars: ✭ 26 (-33.33%)
Mutual labels:  spring-cloud
sample-message-driven-microservices
sample spring cloud application that integrates with rabbitmq through spring cloud stream framework as shows how to setup message-driven microservices basing on publish-subscribe model, consumer groups
Stars: ✭ 28 (-28.21%)
Mutual labels:  spring-cloud
MeetU
Application that build on Elasticsearch and Spring Boot Microservices (Synchronous Service)
Stars: ✭ 22 (-43.59%)
Mutual labels:  spring-cloud
spring-cloud-aws
All development has moved to https://github.com/awspring/spring-cloud-aws Integration for Amazon Web Services APIs with Spring
Stars: ✭ 587 (+1405.13%)
Mutual labels:  spring-cloud
spring-interview-questions
500+ Spring-Boot Interview Questions
Stars: ✭ 269 (+589.74%)
Mutual labels:  spring-cloud
DiscoveryPlatform
☀️ Nepxion DiscoveryPlatform is a platform for Nepxion Discovery with service governance, release orchestration, flow inspection, instance blacklist, gateway route 服务治理、蓝绿灰度编排、流量侦测、实例摘除、网关路由的平台
Stars: ✭ 63 (+61.54%)
Mutual labels:  spring-cloud
e-shop
Sample Spring Cloud microservices e-shop.
Stars: ✭ 48 (+23.08%)
Mutual labels:  spring-cloud
spring-cloud-alibaba-component
Sample of Spring Cloud Alibaba component
Stars: ✭ 50 (+28.21%)
Mutual labels:  spring-cloud
coderiver-java
CodeRiver java repository
Stars: ✭ 25 (-35.9%)
Mutual labels:  spring-cloud
spring-cloud-docker-study
Spring Cloud 与 Docker 整合使用示例,为《使用Spring Cloud与Docker实战微服务》的配套代码。书籍地址:https://github.com/eacdy/spring-cloud-book 。讨论QQ群:157525002(已满)、564840207,欢迎加入。
Stars: ✭ 42 (+7.69%)
Mutual labels:  spring-cloud
sample-spring-cloud-stream
sample microservices communicating asynchronously using spring cloud stream, rabbitmq
Stars: ✭ 22 (-43.59%)
Mutual labels:  spring-cloud
lua-resty-eureka-client
A Netflix Eureka client for OpenResty/ngx_lua
Stars: ✭ 18 (-53.85%)
Mutual labels:  spring-cloud
javayh-platform
javayh-platform 使用Springboot2.2.6为开发脚手架,SpringCloud为云端服务框架,Nacos为注册中心、分布式配置管理中心,Oauth2协议实现统一授权,Mybatis作为持久层框架,提供了代码生成器,SQL防注入,SwaggerAPI文档,Redis 作为缓存服务等强大的功能
Stars: ✭ 32 (-17.95%)
Mutual labels:  spring-cloud

IAM Service

This service includes management functions of user, role, permission, organization, project, password policy, fast code, client, menu, icon, multi-language , and supports for importing third-party users through ldap.

  • Role

There are three built-in roles in iam-service:

  1. Platform administrator (having all privileges of platform global layout).

  2. Organization administrator (having all privileges of a single organization's organizational layout).

  3. Project administrator (having all privileges of a single project's project layout).

    When assigning a role to a user, the role-associated labels are sent to the devops for processing, and the corresponding roles are assigned to gitlab.

  • User

    After the service is initialized, a user admin is built in. Which has all the platform-wide privileges, including all permissions for all organizations and all projects.

    Creating, modifying, and deleting users lead to send events, gitlab synchronization to do the appropriate operation

  • Privilege

    All interfaces of the service define permissions through the @Permission annotation. All interfaces of this service define permissions through the @Permission annotation. With the register server and manager service, the privileges information of all services will be automatically entered into the database to make it effective through the service. The @Permission annotation sets the interface as a public interface (accessible without login), login access, global layer interfaces, organization layer interfaces, and project level interfaces.

  • Organization

    After the service is initialized, an organization "operational organization" is built in. At the same time, the admin user has all the privileges of the organization.

  • Client

    The addition, deletion, and modification of the built-in client is a interface of organizational layer, which corresponds to the "client" needed to log in via oauth-server.

  • Directory

    Corresponding to the front page display directory, including add, delete, change check, is the global layer interface.

  • Password policy

Feature

  • Currently only Chinese and English are supported. Will support more languages later.
  • Refactor the code and optimize the domain model in DDD.

Requirements

  • The project is an eureka client project, which local operation needs to cooperate with register-server, and the online operation needs to cooperate with go-register-server.

Installation and Getting Started

  1. Start up register-server
  2. In the local mysql, create the iam_service database.
CREATE USER 'choerodon'@'%' IDENTIFIED BY "123456";
CREATE DATABASE iam_service DEFAULT CHARACTER SET utf8;
GRANT ALL PRIVILEGES ON iam_service.* TO choerodon@'%';
FLUSH PRIVILEGES;

New file of "init-local-database.sh" in the root directory of the manager-service project:

mkdir -p target
if [ ! -f target/choerodon-tool-liquibase.jar ]
then
    curl http://nexus.choerodon.com.cn/repository/choerodon-release/io/choerodon/choerodon-tool-liquibase/0.5.2.RELEASE/choerodon-tool-liquibase-0.5.2.RELEASE.jar -o target/choerodon-tool-liquibase.jar
fi
java -Dspring.datasource.url="jdbc:mysql://localhost/iam_service?useUnicode=true&characterEncoding=utf-8&useSSL=false&useInformationSchema=true&remarks=true" \
 -Dspring.datasource.username=choerodon \
 -Dspring.datasource.password=123456 \
 -Ddata.drop=false -Ddata.init=true \
 -Ddata.dir=src/main/resources \
 -jar target/choerodon-tool-liquibase.jar

And executed in the root directory of the iam-service project:

sh init-local-database.sh
  1. Go to the project directory and run mvn spring-boot:run or run IAMServiceApplication in idea.

Dependencies

  • go-register-server
  • config-server

Links

How to Contribute

Pull requests are welcome! Follow to know for more information on how to contribute.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].