AWS + ECP?
Brent Putman
putmanb at georgetown.edu
Thu Feb 4 18:05:11 EST 2016
On 2/4/16 5:50 PM, Brent Putman wrote:
>
>
> So I don't know *why* the parsing fails with the wrong content type;
> IdP/OpenSAML doesn't look at it AFAIK. I suspect it's something
> non-obvious in the servlet container layer, or Spring MVC or SWF
> that's mucking with what we see in the request.
Some quick googling suggests the answer: It's behavior defined by the
servlet spec. See Section 3.1.1. When it's
"application/x-www-form-urlencoded", then essentially any call to any of
the request getParameter* methods prior to calling getInputStream()
results in the request body being consumed, in order to populate the
request parameter set with the form params. After that, the body can no
longer be read, so the input stream is null or at least the i/o cursor
is at the end of the stream or something.
We are not calling getParameter() that I can see, but I imagine
something in the MVC or SWF layer is (like make checking for flow
execution key or something?). So that pretty much explains it I think.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20160204/736f8cfb/attachment-0001.html>
More information about the users
mailing list