Greetings, I'm not sure how that is relevant. I set redirectAfterValidation=false, and the code you reference only does the redirect if that option is enabled. The problem is that POST will not follow redirect, as defined by the HTTP RFC... so when my CAS protected JAX-RS resource which is trying to accept @POST, it just stops.
I can obtain a TGT. I can obtain a ST. I can not use this ST to @POST. I can not believe I'm the first person that needs to do this, how is it done?? On Thu, Dec 5, 2013 at 9:10 AM, Jérôme LELEU <[email protected]> wrote: > Hi, > > In fact, it's not possible : > https://github.com/leleuj/java-cas-client/blob/master/cas-client-core/src/main/java/org/jasig/cas/client/validation/AbstractTicketValidationFilter.java#L182. > Best regards, > Jérôme > > > > 2013/12/4 jieryn <[email protected]> >> >> Greetings, I am running CAS v3.4.11 and have enabled >> redirectAfterValidation in my client application web.xml. Despite >> that, any POST requests are still being returned a 301. How can I make >> this work please? >> >> -- >> You are currently subscribed to [email protected] as: >> [email protected] >> To unsubscribe, change settings or access archives, see >> http://www.ja-sig.org/wiki/display/JSG/cas-user > > > -- > You are currently subscribed to [email protected] as: > [email protected] > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
