spring cas 配置小知识
来源:互联网 发布:按键精灵节奏大师源码 编辑:程序博客网 时间:2024/05/21 04:43
spring security 配置cas 的时候 在serviceProperties里的renew参数
<bean id="serviceProperties" class="org.springframework.security.cas.ServiceProperties"> <property name="service" value="https://localhost:8443/cas-sample/j_spring_cas_security_check"/> <property name="sendRenew" value="false"/></bean>
spring 官网上是这样解释的The sendRenew
defaults to false, but should be set to true if your application is particularly sensitive. What this parameter does is tell the CAS login service that a single sign on login is unacceptable. Instead, the user will need to re-enter their username and password in order to gain access to the service.感觉不是很清晰。
自己测试了下 发现时这样的,当我部署了 一个cas server的时候 有两个cas 客户端 a 和 b。
a的senRenew为true b的sendRenew为false
当b验证通过 输入用户名密码 登录后 。 我访问a的资源还是需要再登录一遍的。
当a验证通过,b是不需要再输入密码的。
0 0
- spring cas 配置小知识
- Spring Security3 + CAS 配置
- spring mvc配置cas客户端
- Spring 小知识
- xcode配置小知识
- tomcat6.0.2 cas spring security配置开发
- CAS、Spring Security、Ldap配置整合
- CAS、Spring Security、Ldap配置整合
- Spring Security结合CAS的配置
- CAS Spring Security 3 整合配置
- spring boot配置Cas单点登录
- Spring知识以及配置
- 【spring】ssm整合小知识
- Spring中的ResourceLoaderAware小知识
- nginx知识配置小汇总
- 小知识:kcp-shadowsocks配置
- Spring 配置小例子
- CAS配置
- 黑马程序员——OC基础—-----一个简单OC程序的分析
- 如何在多台机器上共享IOS证书
- ERROR:C++ 字符指针引起的段错误
- 2015.03.04学习笔记
- HDU 2048--神、上帝以及老天爷【错排】
- spring cas 配置小知识
- GStreamer 1.0 运行时环境变量设置
- Qt 5.3.2在周立功M3352开发板的移植记录
- canvas之刮刮卡效果
- YT15-HDU-LELE的涂色难题
- js传值乱码解决办法
- Android官方开发指南-Activity
- eclipse经常卡死
- 无滞后感 Jot Touch压力敏感手写笔兼容iPad