Andrew -

Thanks for this reply. I have solved the problem, though I am not sure I have figured it out. Our institution allows us to set a flag on login that warns us if we are moving to another application. I set the flag for curiosity's sake and lo and behold, when I went to my file upload servlet, CAS thought I was moving to another application.

In my HTML, the link I had to the servlet was an absolute link. I changed it to a relative link and everything worked.

So this is what I assume was going on. If the link is not relative, the CAS client assumes that you are moving to another application, and forwards the request to the CAS server. Because
the CAS server is interposed, the contents of the request are lost.

        Does this sound plausible? Is it correct behavior?

Garey Mills

On 5/25/2011 4:35 PM, Andrew Petro wrote:
Thanks for raising this issue.

Please create a JIRA documenting the defect.

Is it convenient for you to produce a minimal noise example demonstrating this problem? I'm thinking source that builds to a .war that includes the file upload servlet, declares the CAS filter, and maps the servlet behind and not behind the filter.

Not looking to create a bunch of work for you, but if you're in a position to provide such an example (would be a fine addition to the JIRA), Marvin and I are here at Jasig Dev Days through Friday and I know for me that jump start to seeing the problem you're seeing would appreciated.

Thanks,

Andrew



On 05/25/2011 04:25 PM, Garey Mills wrote:

I have a webapp that uses CAS. In the part of my app that I want filtered by CAS I have a file upload servlet. When the HttpServletRequest arrives at the servlet the content type is null and there are no parameters. If I move the file upload outside of the CAS-filtered area, the HttpServletRequest contains the proper content type and
parameters.

    I am using CAS client 3.2.0.

Garey Mills
Library Systems Office
UC Berkeley




--
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

Reply via email to