I have problem to disable JASIG CAS SSO without touching web.xml. For now I configure cas like that cas web.xml config . The best way it would be to somehow move all the configuration to external property file to disable it easy during development as I won't have access to CAS server once it will be implemented. I tried to move configuration as a spring bean like here bean definition for cas server . Unfortunately I kept getting errors about service/servername configuration even though I provided them all. Is there any good explanation of configuration cas externatly I will be very grateful. Thanks
Asked
Active
Viewed 419 times
1 Answers
1
You can configure another intercept filter before cas filter is invoked and then control it from there with a flag. If the flag is enabled, you can continue with the cas filter. If not enabled, you can decide to skip the cas flow and redirect it to your regular flow.

SaAn
- 442
- 6
- 22
-
Can you show me the example how would it be implemented. – lucaskos Sep 03 '17 at 13:27
-
@lucaskos https://www.mkyong.com/spring-mvc/spring-mvc-handler-interceptors-example/ – SaAn Sep 03 '17 at 14:14