2017-01-04

I am trying spring security 4.1 with Apereo CAS 5.1 Server.

Issue I am facing is I get redirected again to CAS login page after service token validation success.

I am using spring boot.

Need help in identifying cause and fix for the same.

My Spring security configuration is mentioned below .

I believe there is some problem related to my configuration above because when I created new web application without using spring boot (tradition xml based configuration approach) I did not face this issue.

I have used same versions of spring core and spring boot in both applications.

I have also gone through Migrating from Spring Security 3.x to 4.x (http://docs.spring.io/spring-security/site/migrate/current/3-to-4/html5/migrate-3-to-4-jc.html).
There it is suggested to explicitly set 'filterProcessesUrl' property of cas filter but I have already done that.

I am sharing my xml configration (which is working) -

I would also like to share debug logs for both applications -

Spring boot configuration logs -

xml Configuration logs -

Show more