在spring于security的集成中,serviceProperties的配置如下:
spring security文档上说sendRebew是敏感的设置,如果设置成true表示敏感,意思就是说,就算客服端已经存在票据,也要到cas server重新登录。
<beans:bean id="serviceProperties" class="org.springframework.security.ui.cas.ServiceProperties">
<beans:property name="service" value="http://localhost:8080/s-ori/j_spring_cas_security_check"/>
<beans:property name="sendRenew" value="true"/>
</beans:bean>
spring security文档上说sendRebew是敏感的设置,如果设置成true表示敏感,意思就是说,就算客服端已经存在票据,也要到cas server重新登录。
本文介绍在Spring Security集成中ServiceProperties的配置方法。具体包括如何设置service属性及sendRenew属性,其中sendRenew为敏感设置,当设为true时,即使客户端已存在票据,也会强制其重新登录。
2048

被折叠的 条评论
为什么被折叠?



