-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Stefan,
On 11/14/13, 3:51 AM, Bley, Stefan wrote: > Yes we have our own Valve which, through the inheritance structure > of Picketlink, extends FormAuthenticator. When it comes to > saveRequest() the is.read() returns -1. Okay. >> If in.read() returns -1 it means that the stream has no more >> data in it. > > Does that mean the stream has already been read? Or reset? It means that the stream is out of data. That can be due to a number of different reasons. It may have been drained. I'm not sure it can be "reset" in any meaningful way. > Because I can see the form data in the coyote request input > buffer. It is just the stream that can't be read. is.available() > also returns 0. When you say "request input buffer", which buffer do you mean? I haven't looked at the code in a while, but the FormAuthenticator may parse POST multipart/form-data into individual parameters, thus draining the input stream in the process. Perhaps you are looking for your "missing" data in the wrong place? - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQIcBAEBCAAGBQJShNrwAAoJEBzwKT+lPKRYhzkP/iI09+lBbXaU4UyJNzmVZN77 pBz9U+TLXW5VXYJMQPYtngjEcihWwj1Sy+9UT4xb07soNPXBHfHfiYBUlE24ulAs wvl2asAYVufhlIObsLX5NOSZpUtvchH7chM7atKmbQ8mdIF+GvBc6q6Ij0ovcOMg a6hz3xF3BKUyDCzI03Nd4Z1pWo/Noxyq6CTzIBQw4qMDgtsZlFM1JqhxpTh39p46 uRMTi2rlLk7WEG2BCQrng/PzTC7AJ6XbXTcd41Wonwf2f+tY12YREtMTX9YTEk4N z4UYFXgyIM+lZBhcZup/g7V71RStXIpWEYpgptY2CTXRPVkIIM65QKsak1OMtgx0 TIFoZpf3C0KWZBQaFNjvWyorNJuKw0lviYSuypzhhz759uqUoWEOJsKqBfl3IMnP D8OU5aR+3XT7lkSArdX5FL1EiRLehB+fPVBnqAN1cRIMvUtTrzbYmqzcpd/hpoQv 3I9KLPS3aEViU6asyw84zs3Pe75g8xNtEMBZZD4d4x5R+mJW9jqr1fRztvyMQrpu eJ/s1NjgOEKC4FR5Zl8VoPo8v8n813G7toiB3amVeGnGa1qv+kBH6L7DL3bmAT3Z jRjAyo8vctxSLF0FVYIMLCpuYXreqOSQ8cCbch1Jz6Boo3TkaN6iR/bdwhEaeSEH yvo+lClY3gW3WESCXXgn =FYni -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org