最近在学习CAS中央认证服务和web项目使用shiro整合,整体来说步骤还是比较多的,至今有一些问题也没有彻底搞清楚。从中了解到了maven overlay,shiro 的cas 设置,keystore 等相关的知识。现做一些记录,便于以后使用。
简单说主要有N个步骤
- 下载cas-overlay-template项目
- 生成keystore,设置密码,并配置到jetty或者tomcat中
- 使用keystore生成cer,安装到jre可信证书库中
- 配置shiro使用cas
- 在cas中配置服务
- 在cas中配置查询数据库验证用户身份
- 在cas中配置登录成功后返回自定义用户信息
- 在shiro中设置查询用户角色和权限
有一些问题还是没有搞懂,等有空了再好好看看
- 为什么官方的overlay中给了一个空的truststore文件,空的truststore文件起了什么作用
- 为什么直接配置一些bean就可以起到替换默认实现的作用,没有在源代码中找到哪里的代码做了这处理。
如果有人知道这个问题的话。
Buy cheap and genuine Windows 7 product key |
Windows 7 Ultimate Key : Activation key, Free download |
Windows 7 Product Key : Activation key, Free download |
Windows 10 Product key : Activation key, Free download |
Windows 8 Product key : Activation key, Free download |
Office Professional Plus 2016 key : Activation key, Free download |
Windows 7 Ultimate ISO download |
Windows 7 Product Key Generator 32 bit and 64 bit Full |
Windows 7 Ultimate Product Key 32-64bit [Free Keys] [2016] |
Legit Windows 7 Product Key Online Store, PayPal Support |
Windows 7 Ultimate with Service Pack 1 Product Key,Windows 7 Key Sale |
Windows 10 keys, office 2016 keys, windows 7 keys: Valid Key Shop |
windows-10-education-key
windows-10-enterprise-key
office-2010-key
windows-7-key-sale
windows-10-home-key
windows-10-activation-key
windows-10-pro-key
office-2016-key
windows-10-key
office-2013-key
windows-10-iso
windows-7-key
windows-10-product-key
了解 工作生活心情记忆 的更多信息
订阅后即可通过电子邮件收到最新文章。