billbarker 2005/05/15 22:22:21 Modified: catalina/src/share/org/apache/catalina/authenticator FormAuthenticator.java Log: Oops, missed an indirection Revision Changes Path 1.22 +2 -33 jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java Index: FormAuthenticator.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/authenticator/FormAuthenticator.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- FormAuthenticator.java 16 May 2005 05:12:50 -0000 1.21 +++ FormAuthenticator.java 16 May 2005 05:22:21 -0000 1.22 @@ -388,7 +388,7 @@ if ("POST".equalsIgnoreCase(saved.getMethod())) { ByteChunk body = saved.getBody(); - request.action(ActionCode.ACTION_REQ_SET_BODY_REPLAY, body); + request.getCoyoteRequest().action(ActionCode.ACTION_REQ_SET_BODY_REPLAY, body); // Set content type MessageBytes contentType = MessageBytes.newInstance(); @@ -485,36 +485,5 @@ } - protected class SavedRequestInputFilter implements InputFilter { - - protected ByteChunk input = null; - - public SavedRequestInputFilter(ByteChunk input) { - this.input = input; - } - - public int doRead(ByteChunk chunk, org.apache.coyote.Request request) - throws IOException { - return input.substract(chunk); - } - - public void setRequest(org.apache.coyote.Request request) { - } - - public void recycle() { - input = null; - } - - public ByteChunk getEncodingName() { - return null; - } - - public void setBuffer(InputBuffer buffer) { - } - - public long end() throws IOException { - return 0; - } - } }
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]