Shib IDP/ECP and input error

Cantor, Scott cantor.2 at osu.edu
Mon Apr 27 16:51:27 EDT 2015


On 4/27/15, 4:48 PM, "Edwards, Wendy A" <wedwards at illinois.edu> wrote:

>If Tomcat is somehow eating the input stream, I¹d wondered if calling the
>reset() method on the input at some point before the parser tried to read
>it might fix the problem, hopefully without causing a problem with Jetty.

It's nothing to do with Tomcat. I think it's Spring MVC, personally, but that's a total guess at this point. I think something there is deciding to consume the stream to decide something, and using a bogus content type avoids tripping that code.

There's no way reset would work, that would assume complete buffering of every POST. You can't consume the stream more than once, ever.

-- Scott



More information about the dev mailing list