AJAX + Login redirects + CAS w/ spring-security-cas plugin
I'm creating a grails app that uses CAS SSO. If the page times out and an AJAX request is then made, the spring-security-cas plugin redirects the AJAX request to the CAS login page (which of course the user can't see).
Does anyone have an elegant way of handling this? It would be awesome if the spring-security-cas plugin had something like LoginController -> authAjax that's found in the spring-security-core plugin.