Applications that Require POST Responses

New CAS documentation site

CAS documentation has moved over to apereo.github.io/cas, starting with CAS version 4.x. The wiki will no longer be maintained. For the most recent version of the documentation, please refer to the aforementioned link.

CAS has a built-in mechanism to send responses via HTTP POST instead of HTTP Redirects. To enable it for your particular application (i.e. PeopleSoft), you should redirect to the CAS login page with an additional parameter: method=POST so your URL might look like:

https://my.cas.server/login?method=POST&service=foo

This is determined by the spring webflow as such:

<decision-state id="postRedirectDecision">
   <if test="requestScope.response.responseType.name() == 'POST'" then="postView" else="redirectView" />
</decision-state>

Relevant classes are those that implement the 'WebApplicationService' interface. The final view that is rendered by CAS and does a POST request is located 'casPostResponseView.jsp'

Â