CAS 中央身份验证服务加单点登录和单点退出学习笔记

0
(0)

最近在学习CAS中央认证服务和web项目使用shiro整合,整体来说步骤还是比较多的,至今有一些问题也没有彻底搞清楚。从中了解到了maven overlay,shiro 的cas 设置,keystore 等相关的知识。现做一些记录,便于以后使用。

简单说主要有N个步骤

  1. 下载cas-overlay-template项目
  2. 生成keystore,设置密码,并配置到jetty或者tomcat中
  3. 使用keystore生成cer,安装到jre可信证书库中
  4. 配置shiro使用cas
  5. 在cas中配置服务
  6. 在cas中配置查询数据库验证用户身份
  7. 在cas中配置登录成功后返回自定义用户信息
  8. 在shiro中设置查询用户角色和权限

有一些问题还是没有搞懂,等有空了再好好看看

  1. 为什么官方的overlay中给了一个空的truststore文件,空的truststore文件起了什么作用
  2. 为什么直接配置一些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

这篇文章有用吗?

平均评分 0 / 5. 投票数: 0

到目前为止还没有投票!成为第一位评论此文章。

很抱歉,这篇文章对您没有用!

让我们改善这篇文章!

告诉我们我们如何改善这篇文章?

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据