随笔分类 -  cas

摘要:springboot2.0配置多数据源:spring.datasource.primary.url=jdbc:mysql://localhost:3306/study?useUnicode=true&characterEncoding=utf-8&useSSL=truespring.datasour 阅读全文
posted @ 2019-03-19 14:37 进阶仙女 阅读(466) 评论(0) 推荐(1)
摘要:cas server版本:6.0.0 添加依赖: 进行application.properties配置: 在mysql中的截图如下: 在此过程中遇到的问题一:查看错误日志从关键词查起,此异常不影响运行情况 由于我的项目中还是用了redis做验证码缓存,因此一直以为是redis的配置问题,看日志不仔细 阅读全文
posted @ 2019-03-18 20:29 进阶仙女 阅读(1142) 评论(0) 推荐(1)
摘要:configureCookieGenerators(context);//对cookie进行操作 configureWebflowContext(final RequestContext context);//putTicketGrantingTicketInScopes configureWebf 阅读全文
posted @ 2019-02-22 10:15 进阶仙女 阅读(288) 评论(0) 推荐(1)
摘要:使用restful接口进行登陆: 思路和用postman 进行测试是一样的效果 client1的登陆界面: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ 阅读全文
posted @ 2019-01-24 16:54 进阶仙女 阅读(2076) 评论(3) 推荐(2)
摘要:一、使用pac4j插件 https://apereo.github.io/cas/6.0.x/protocol/REST-Protocol.html 官网链接cas restclient 二、cas server端下载依赖 三、使用客户端测试连接 private final static Strin 阅读全文
posted @ 2019-01-24 09:30 进阶仙女 阅读(7706) 评论(0) 推荐(1)
摘要:如何修改cas 的jdbc验证方式,做更多自定义的操作? 阅读全文
posted @ 2019-01-14 17:56 进阶仙女 阅读(704) 评论(0) 推荐(1)
摘要:启动cas server 启动客户端,访问url,org.jasig.cas.client.authentication.AuthenticationFilter.initInternal验证 cas server已经登陆时的流程 EncryptedCookieValueManager.obtain 阅读全文
posted @ 2018-12-26 17:42 进阶仙女 阅读(2258) 评论(0) 推荐(1)
摘要:CAS Filter org.jasig.cas.client.authentication.AuthenticationFilter casServerLoginUrl https://cas.server.name:8443/cas/login ... 阅读全文
posted @ 2018-12-21 10:10 进阶仙女 阅读(1055) 评论(0) 推荐(1)
摘要:参考链接:https://blog.csdn.net/qq_34021712/article/details/81318649 ©王赛超 https://blog.csdn.net/u010475041/article/details/78094251 大神超厉害,小菜鸟表示很崇拜 casServe 阅读全文
posted @ 2018-12-20 18:07 进阶仙女 阅读(1873) 评论(0) 推荐(1)