# springboot-springsecurity-cas **Repository Path**: debugxu/springboot-springsecurity-cas ## Basic Information - **Project Name**: springboot-springsecurity-cas - **Description**: springboot-springsecurity-cas 安全认证demo - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2021-01-25 - **Last Updated**: 2021-01-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-springsecurity-cas #### 介绍 springboot+springsecurity+cas 安全认证demo #### 软件架构 springboot2.0.1+springsecurity+cas5.3.x #### 安装教程 1. clone下来,等待maven下载之后,springboot一键启动。 #### 使用说明 整合全过程的教程可访问我的博客:[SpringBoot2+SpringSecurity+CAS 安全认证整合项目](https://blog.csdn.net/cheng137666/article/details/110224088) 下面的git图片展示了整个测试过程: 1. 访问http://localhost:7200/,由于没有授权,会跳到cas服务端登录页 2. cas服务端登录页进行登录操作,登录成功后跳转回http://localhost:7200/login,提示登录成功 3. 访问http://localhost:7200/logout,进行登出操作 4. 成功登出后,由于我们配置了回调url,会再次引导跳转回http://localhost:7200//login,而此时已经退出登录,系统会再次引导我们进入cas服务端登录页 *注:application.yml中配置了登出回调url* 5. 重复步骤2的操作,再次登录成功 6. 访问http://localhost:7200/hello,由于已经登录成功,不会跳转到cas服务端登录页,而是正常返回 hello word。 ![来吧展示](https://gitee.com/lonecheng/springboot-springsecurity-cas/raw/master/show.gif) #### 特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)