Swa*_*nil 0 cas spring-security spring-security-cas
我正在使用CAS 3.5.2和Spring CAS扩展。我正在尝试将j_spring_cas_security_checkURL(以及类似的注销帐户)更改为security_check。我在Spring文档中读到
Back in the service web application, the CasAuthenticationFilter is always listening for
requests to /j_spring_cas_security_check (this is configurable, but we'll use the defaults
in this introduction).
Run Code Online (Sandbox Code Playgroud)
我以为这只是一个伪URL,可以通过在Spring Security配置中将其设置为bean service属性的值来更改org.springframework.security.cas.ServiceProperties,但是更改后,我的CAS SSO开始崩溃。我没有在客户端或服务器端看到任何异常。
更改此默认路径时,我是否缺少任何明显的步骤?
我检查了的代码,CasAuthenticationFilter发现filterProcessesUrl需要将其设置为自定义URL。在构造函数中,默认设置为/ j_spring_cas_security_check。
| 归档时间: |
|
| 查看次数: |
4812 次 |
| 最近记录: |