Yes, and we could imagine setting by ourselves the ```CASTGC``` cookie using the ```CookieRetrievingCookieGenerator``` and therefore, recreating the CAS authentication when the user has authenticated through basic auth...