spring-security-cas

jasig cas too many redirects issue

为君一笑 提交于 2019-12-30 13:35:17
问题 I'm trying to secure a spring-boot web application using spring security and spring-security-cas (SSO with Jasig CAS). I'm facing a too many redirects error when trying to access a protected resources. The project is available here Do you see any error in my configuration? Thanks in advance redirect loop error screenshot 回答1: Finally found out the error: In SpringSecurity 4.x, CasAuthenticationFilter's defaultFilterProcessesUrl path is changed. So Change '/j_spring_cas_security_check' to '

Spring 4.2's native Global CORS support won't work with CAS filterProcessesUrl

血红的双手。 提交于 2019-12-14 03:42:18
问题 i am trying to switch to spring 4.2's native Global CORS support after i upgrade to spring-boot 1.3, but it seemed won't work with CAS filter process url(/login/cas). Originally, i was using spring-boot 1.2.7 with spring 4.2 and spring-security 4.0.2, and using self made filtered based cors support. And either my own rest service or CAS ST validation URL worked well. After i upgraded to spring-boot 1.3 with coming in spring and spring-security version. It stopped working. After some digging,

Grails-SpringSec depends on JARs that aren't in Maven Central?

浪子不回头ぞ 提交于 2019-12-11 10:35:48
问题 I am trying to configure a Grails app to use the latest stable SpringSec-CAS plugin and for the life of me cannot find the proper version of both SpringSec and the plugin I should be using. I am on Grails 2.3.6. What should I include in BuildConfig.groovy to get the latest stable versions? I have: plugins { compile ":spring-security-core:2.0-RC2" compile ":spring-security-cas:2.0-RC1" } When I specify SpringSec 2.0-RC2 and SpringSec-CAS 2.0-RC1 I get the following errors when running grails

Spring 4.2's native Global CORS support won't work with CAS filterProcessesUrl

a 夏天 提交于 2019-12-04 12:06:21
i am trying to switch to spring 4.2's native Global CORS support after i upgrade to spring-boot 1.3, but it seemed won't work with CAS filter process url(/login/cas). Originally, i was using spring-boot 1.2.7 with spring 4.2 and spring-security 4.0.2, and using self made filtered based cors support. And either my own rest service or CAS ST validation URL worked well. After i upgraded to spring-boot 1.3 with coming in spring and spring-security version. It stopped working. After some digging, fixed this by AddFilterBefore . So filtered based CORS seemed work well too with spring-boot 1.3.0 +