demo-spring-cas-angular icon indicating copy to clipboard operation
demo-spring-cas-angular copied to clipboard

Latest CasAuthenticationFilter uses different default security endpoint (/login/cas)

Open cm325 opened this issue 9 years ago • 3 comments

I just worked through using your modifications for a new jhipster build (they were a lifesaver!!), and it wasn't working, and the problem was that the lastest spring security CasAuthenticationFilter has a different security endpoint that gets registered by default, so instead of:

/j_spring_cas_security_check

its now:

/login/cas

With so many changes coming from Spring 3, xml config, etc, it would be hard for a new user to catch this-

cm325 avatar Jul 14 '16 17:07 cm325

Thanks for your feed back, you are right about that, an upgrade is needed ; ) Le 14 juil. 2016 19:55, "chris marx" [email protected] a écrit :

I just worked through using your modifications for a new jhipster build, and it wasn't working, and the problem was that the lastest spring security CasAuthenticationFilter has a different security endpoint that gets registered by default, so instead of:

/j_spring_cas_security_check

its now:

/login/cas

With so many changes coming from Spring 3, xml config, etc, it would be hard for a new user to catch this-

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jgribonvald/demo-spring-cas-angular/issues/4, or mute the thread https://github.com/notifications/unsubscribe/ABhfY2uAM027cXpZQHJL8A_pTLi5U9tTks5qVngngaJpZM4JMr_- .

jgribonvald avatar Jul 14 '16 19:07 jgribonvald

No problem. We've really appreciated your jhipster/cas demo, there is a real lack of documentation at the moment it seems on getting spring security configuring correctly with Java config, and of course CAS.

I'm curious, did you also look at the possibility of casifying the oauth version of jhipster, now that cas 4 has full oauth support?

cm325 avatar Jul 14 '16 23:07 cm325

No, sorry not again... I planned to migrate our CAS from a version 3.4.12 to 4.x at the end of the year only. We wait that all feature for failover in CAS were fonctionnal before to explore... Le 15 juil. 2016 01:23, "chris marx" [email protected] a écrit :

No problem. We've really appreciated your jhipster/cas demo, there is a real lack of documentation at the moment it seems on getting spring security configuring correctly with Java config, and of course CAS.

I'm curious, did you also look at the possibility of casifying the oauth version of jhipster, now that cas 4 has full oauth support?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jgribonvald/demo-spring-cas-angular/issues/4#issuecomment-232820724, or mute the thread https://github.com/notifications/unsubscribe-auth/ABhfY0zNGol4Y0MhCgBw2HdZ-zhqWUzjks5qVsTrgaJpZM4JMr_- .

jgribonvald avatar Jul 15 '16 09:07 jgribonvald