All Projects → kawhii → Sso

kawhii / Sso

Licence: mit
cas单点登录系统,其中包括cas认证服务,配置中心,监控平台,服务管理的高可用项目

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Sso

Cas
Apereo CAS - Enterprise Single Sign On for all earthlings and beyond.
Stars: ✭ 9,154 (+1048.56%)
Mutual labels:  spring-boot, spring-cloud, oauth2, authorization, sso
Jbone
jbone基于Spring Cloud框架开发,旨在为中小企业提供稳定的微服务解决方案,为开发人员提供基础开发骨架,jbone包含微服务中所有常用组件,例如注册中心、服务管理、服务监控、JVM监控、内存分析、调用链跟踪、API网关等等。业务功能包括系统权限的统一管理、单点登录、CMS、电商平台、工作流平台、支付平台等等。
Stars: ✭ 961 (+20.58%)
Mutual labels:  spring-boot, spring-cloud, sso, cas
Cas Configserver Overlay
Generic CAS Spring Cloud Configuration Server WAR overlay
Stars: ✭ 28 (-96.49%)
Mutual labels:  spring-boot, spring-cloud, sso, cas
Sample Spring Oauth2 Microservices
some examples that show basic and more advanced implementations of oauth2 authorization mechanism in spring-cloud microservices environment
Stars: ✭ 109 (-86.32%)
Mutual labels:  spring-boot, spring-cloud, oauth2, authorization
Mcloud
基于Spring Cloud,实现微服务中常用的基础模块,包括 OAuth2 认证服务,统一注册中心,系统监控中心, 统一配置中心,API网关以及熔断器
Stars: ✭ 185 (-76.79%)
Mutual labels:  spring-boot, spring-cloud, oauth2
Spring Cloud Tutorial
Spring Cloud Tutorial.《Spring Cloud 教程》
Stars: ✭ 173 (-78.29%)
Mutual labels:  spring-boot, spring-cloud, tutorial
Microservice Scaffold
基于Spring Cloud(Greenwich.SR2)搭建的微服务脚手架(适用于在线系统),已集成注册中心(Nacos Config)、配置中心(Nacos Discovery)、认证授权(Oauth 2 + JWT)、日志处理(ELK + Kafka)、限流熔断(AliBaba Sentinel)、应用指标监控(Prometheus + Grafana)、调用链监控(Pinpoint)、以及Spring Boot Admin。
Stars: ✭ 211 (-73.53%)
Mutual labels:  spring-boot, spring-cloud, oauth2
Microservices Platform
基于SpringBoot2.x、SpringCloud和SpringCloudAlibaba并采用前后端分离的企业级微服务多租户系统架构。并引入组件化的思想实现高内聚低耦合,项目代码简洁注释丰富上手容易,适合学习和企业中使用。真正实现了基于RBAC、jwt和oauth2的无状态统一权限认证的解决方案,面向互联网设计同时适合B端和C端用户,支持CI/CD多环境部署,并提供应用管理方便第三方系统接入;同时还集合各种微服务治理功能和监控功能。模块包括:企业级的认证系统、开发平台、应用监控、慢sql监控、统一日志、单点登录、Redis分布式高速缓存、配置中心、分布式任务调度、接口文档、代码生成等等。
Stars: ✭ 3,274 (+310.79%)
Mutual labels:  spring-boot, spring-cloud, oauth2
Spring Webmvc Pac4j
Security library for Spring Web MVC: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 110 (-86.2%)
Mutual labels:  spring-boot, authorization, cas
Stormpath Sdk Java
Official Java SDK for the Stormpath User Management REST API
Stars: ✭ 221 (-72.27%)
Mutual labels:  spring-boot, spring-cloud, authorization
OpenAM
OpenAM is an open access management solution that includes Authentication, SSO, Authorization, Federation, Entitlements and Web Services Security.
Stars: ✭ 476 (-40.28%)
Mutual labels:  oauth2, authorization, sso
Event Sourcing Microservices Example
Learn about building microservices with event sourcing using Spring Boot and how to deploy a social network to Kubernetes using Docker Compose or Helm.
Stars: ✭ 167 (-79.05%)
Mutual labels:  spring-boot, spring-cloud, tutorial
Study
全栈工程师学习笔记;Spring登录、shiro登录、CAS单点登录和Spring boot oauth2单点登录;Spring data cache 缓存,支持Redis和EHcahce; web安全,常见web安全漏洞以及解决思路;常规组件,比如redis、mq等;quartz定时任务,支持持久化数据库,动态维护启动暂停关闭;docker基本用法,常用image镜像使用,Docker-MySQL、docker-Postgres、Docker-nginx、Docker-nexus、Docker-Redis、Docker-RabbitMQ、Docker-zookeeper、Docker-es、Docker-zipkin、Docker-ELK等;mybatis实践、spring实践、spring boot实践等常用集成;基于redis的分布式锁;基于shared-jdbc的分库分表,支持原生jdbc和Spring Boot Mybatis
Stars: ✭ 159 (-80.05%)
Mutual labels:  spring-boot, sso, cas
Java Microservices Examples
Java Microservices: Spring Boot, Spring Cloud, JHipster, Spring Cloud Config, and Spring Cloud Gateway
Stars: ✭ 194 (-75.66%)
Mutual labels:  spring-boot, spring-cloud, oauth2
Xxl Sso
A distributed single-sign-on framework.(分布式单点登录框架XXL-SSO)
Stars: ✭ 1,635 (+105.14%)
Mutual labels:  spring-boot, authorization, sso
Spring Security Pac4j
pac4j security library for Spring Security: OAuth, CAS, SAML, OpenID Connect, LDAP, JWT...
Stars: ✭ 231 (-71.02%)
Mutual labels:  spring-boot, authorization, cas
Spring Boot Demo
spring boot demo 是一个Spring Boot、Spring Cloud的项目示例,根据市场主流的后端技术,共集成了30+个demo,未来将持续更新。该项目包含helloworld(快速入门)、web(ssh项目快速搭建)、aop(切面编程)、data-redis(redis缓存)、quartz(集群任务实现)、shiro(权限管理)、oauth2(四种认证模式)、shign(接口参数防篡改重放)、encoder(用户密码设计)、actuator(服务监控)、cloud-config(配置中心)、cloud-gateway(服务网关)等模块
Stars: ✭ 323 (-59.47%)
Mutual labels:  spring-boot, spring-cloud, oauth2
Oxauth
OAuth 2.0 server and client; OpenID Connect Provider (OP) & UMA Authorization Server (AS)
Stars: ✭ 308 (-61.36%)
Mutual labels:  oauth2, authorization, sso
Youlai Mall
youlai-mall 是基于Spring Boot 2.4、Spring Cloud 2020 & Alibaba、Vue、element-ui、uni-app快速构建的一套全栈开源商城平台,包括系统权限管理、微服务应用、微信小程序及APP应用
Stars: ✭ 331 (-58.47%)
Mutual labels:  spring-boot, spring-cloud, oauth2
Oneplatform
onePlatform定位是企业级应用网关,提供提供服务路由、SSO、统一认证授权、统一日志、全局事件以及模块化管理等基础能力。基于Spring cloud、开箱即用、无额外学习成本、无缝对接老系统。→提供配套视频教程(Q群: 61859839)
Stars: ✭ 105 (-86.83%)
Mutual labels:  spring-boot, spring-cloud, sso

SSO Build Status GitHub license GitHub issues

打造一个单点登录平台,其中包括以下子系统

  • CAS SERVER
  • 配置中心
  • 服务管理系统
  • 监控平台
  • 客户端集成(cas client、pac4j、shiro)

并且在博客中记录整个搭建过程以及注意事项,目前教程如下:

目前教程

监控系统

特性

  • Docker快速启动
  • GitHub授权登录
  • Cas Clint、Shiro Pac4j Client集成
  • jdbc用户密码加密
  • 自定义主题
  • 配置统一管理
  • 根据官网5.1.x新版本迭代
  • 各阶段发布博客教程
  • 密码管理
  • 一键启动
  • 第三方登录接入(QQ,WeChat,CSDN,GitHub)
  • 绑定用户
  • 验证码输出
  • 自定义校验器
  • 多属性返回
  • 验证码发送、校验(注册发送邮箱验证码)
  • 服务监控检测
  • 校验码登录
  • 单用户登录

Tutorial: Csdn Blog Tutorial

域名:localhost

用户:

用户名 密码 是否可登录 备注
admin 123
zhangsan 12345678
zhaosi 1234 × 禁用
wangwu 12345 需修改密码

Docker 快速启动

目前仅部署了配置中心及cas服务到docker环境中

docker run -d --restart=always  -p 8443:8443 kawhii/sso

若采用docker启动,访问为:http://dockerip:8443/cas

注意

  • 由于修改密码功能目前是发送到笔者的邮箱,若调整,需要修改sso-server/src/main/resources/profile/dev/sql/data-dev.sql
  • 密码修改功能可以关闭问题回答功能

模块介绍

模块名 模块介绍 端口情况 必须https path 启动循序
sso-server cas服务 8443 cas 2
sso-config 配置中心 8888 × config 1
sso-management service管理 8081 × cas-management 3
sso-cas-client-demo cas-client-demo 8080 × /sample 4
sso-client-shiro-demo shiro-client-demo 8083 × / 5
sso-client-proxy-demo OAuth2代理转发客户端 8808 × / 6
sso-monitor 监控服务 8444 × / 7

代码下载 码云 Github

  1. 每一个阶段都会封版打一个tag,需要的进行下载
  2. 原始构建文件存在于original-files目录下

Development Dependency Status codebeat badge

  • jdk8
  • maven3

帮助

build.cmd help

输出以下帮助信息

"Usage: build.bat [help|sso-server|sso-management|sso-config|cas-client-demo|shiro-client-demo|run-all|hosts]"
1. sso-config: Config Server
2. sso-server: CAS Server
3. sso-management: Cas Management
4. cas-client-demo: CasClient Demo
5. shiro-client-demo: ShiroDemo
6. run: Run all server
7. init: set '127.0.0.1 passport.sso.cm' to HOSTS, import cert to D:\soft\work\java\jdk1.8-144\jre\lib\security\cacerts

初始化

build.cmd init

启动服务

由于启动服务多,开始占用CPU、内容稍高

build.cmd run
#server-id 为上面的各服务名称,
#如启动sso-management为,build.cmd sso-management

build.cmd [server-id]

联系方式

如果技术的交流或者疑问可以联系或者提出issue。

邮箱:[email protected]

QQ: 756884434 (请注明:SSO-github)

如果项目对你有技术上的提升、工作上的帮助或者一些启示,不妨请小编喝杯咖啡,小编更会满怀激情的为大家讲解和输出博文哦。

微信 支付宝

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].