Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 96558 invoked from network); 8 Sep 2004 07:57:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Sep 2004 07:57:51 -0000 Received: (qmail 32120 invoked by uid 500); 8 Sep 2004 07:56:58 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 31866 invoked by uid 500); 8 Sep 2004 07:56:56 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 31650 invoked by uid 99); 8 Sep 2004 07:56:54 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=HTML_60_70,HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [193.226.88.117] (HELO main.saguaro.ro) (193.226.88.117) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 08 Sep 2004 00:56:51 -0700 Received: from domino.saguaro.ro (domino.saguaro.ro [192.168.1.1]) by main.saguaro.ro (8.12.11/8.12.11) with ESMTP id i887vB39017550 for ; Wed, 8 Sep 2004 10:57:11 +0300 To: commons-user@jakarta.apache.org Subject: [HttpClient] How to use HttpClient with Form-based Authentication? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.1 January 21, 2004 Message-ID: From: rportan@saguaro.ro Date: Wed, 8 Sep 2004 10:56:54 +0300 X-MIMETrack: Serialize by Router on domino/SPR/RO(Release 6.5.2|June 01, 2004) at 09/08/2004 10:56:55 AM Content-Type: multipart/mixed; boundary="=_mixed 002BA3D2C2256F09_=" X-AntiVirus: checked by Vexira Milter 1.0.7; VAE 6.27.0.6; VDF 6.27.0.50 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --=_mixed 002BA3D2C2256F09_= Content-Type: multipart/alternative; boundary="=_alternative 002BA3D2C2256F09_=" --=_alternative 002BA3D2C2256F09_= Content-Type: text/plain; charset="US-ASCII" ----- Forwarded by Rares Portan/SPR/RO on 09/08/2004 10:54 AM ----- Rares Portan/SPR/RO 09/08/2004 10:54 AM To Rares Portan/SPR/RO@SPR cc Subject RE: [HttpClient] How to use HttpClient with Form-based Authentication? Hi, Here you have the complete FormLoginDemo.java source and test war( logintest.text --- rename to war --- I got a mail-delivery failure when I try to attach archives) that can be deployed on Tomcat. The authentification POST method was removed from the source because the login form page is auto-submited when called from the browser. The LoginForm.html uses javascript to complete submit on page load the login form, the form inputs are filled by default with Tomcat admin user and password, you will have to edit this file to perform a correct authentication by providing the correct credentials. The problem still remains, I can't get any page except the login form page ! import java.io.File; import org.apache.commons.httpclient.*; import org.apache.commons.httpclient.cookie.CookiePolicy; import org.apache.commons.httpclient.cookie.CookieSpec; import org.apache.commons.httpclient.methods.*; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; /** *

* A example that demonstrates how HttpClient APIs can be used to perform * form-based logon. *

* * @author Oleg Kalnichevski * */ public class FormLoginDemo { static{ System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog"); System.setProperty( "org.apache.commons.logging.simplelog.showdatetime", "true"); System.setProperty( "org.apache.commons.logging.simplelog.log.httpclient.wire", "debug"); System.setProperty( "org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", "debug"); } private static Log log = LogFactory.getLog(FormLoginDemo.class); static final String LOGON_SITE = "localhost"; static final int LOGON_PORT = 8080; public FormLoginDemo() { super(); } public static void main(String[] args) throws Exception { HttpClient client = new HttpClient(); client.getHostConfiguration().setHost(LOGON_SITE, LOGON_PORT, "http"); client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY); GetMethod authget = new GetMethod("/logintest/index.html"); client.executeMethod(authget); System.out.println("Login form get: " + authget.getStatusLine().toString()); // release any connection resources used by the method authget.releaseConnection(); // See if we got any cookies CookieSpec cookiespec = CookiePolicy.getDefaultSpec(); Cookie[] initcookies = cookiespec.match( LOGON_SITE, LOGON_PORT, "/logintest/", false, client.getState().getCookies()); System.out.println("Initial set of cookies:"); if (initcookies.length == 0) { System.out.println("None"); } else { for (int i = 0; i < initcookies.length; i++) { System.out.println("- " + initcookies[i].toString()); } } int statuscode = authget.getStatusCode(); if ((statuscode == HttpStatus.SC_MOVED_TEMPORARILY) || (statuscode == HttpStatus.SC_MOVED_PERMANENTLY) || (statuscode == HttpStatus.SC_SEE_OTHER) || (statuscode == HttpStatus.SC_TEMPORARY_REDIRECT)) { Header header = authget.getResponseHeader("location"); if (header != null) { String newuri = header.getValue(); if ((newuri == null) || (newuri.equals(""))) { newuri = "/"; } System.out.println("Redirect target: " + newuri); GetMethod redirect = new GetMethod(newuri); redirect.setFollowRedirects(true); client.executeMethod(redirect); System.out.println("Redirect: " + redirect.getStatusLine().toString()); // release any connection resources used by the method System.out.println(redirect.getResponseBodyAsString()); redirect.releaseConnection(); } else { System.out.println("Invalid redirect"); System.exit(1); } } // See if we got any cookies // The only way of telling whether logon succeeded is // by finding a session cookie Cookie[] logoncookies = cookiespec.match( LOGON_SITE, LOGON_PORT, "/logintest/", false, client.getState().getCookies()); System.out.println("Logon cookies:"); if (logoncookies.length == 0) { System.out.println("None"); } else { for (int i = 0; i < logoncookies.length; i++) { System.out.println("- " + logoncookies[i].toString()); } } //TRY TO GET AN INNER PAGE GetMethod description= new GetMethod(" http://localhost:8080/logintest/secure/securepage.html"); client.executeMethod(description); System.out.println("description: " + description.getStatusLine().toString()); System.out.println(description.getResponseBodyAsString()); description.releaseConnection(); } } LOGS: 2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Java version: 1.3.1 2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Java vendor: IBM Corporation 2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Java class path: 2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Operating system name: Windows XP 2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Operating system architecture: x86 2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Operating system version: 5.1 2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - SUN 1.2: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore) 2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.0-alpha1 2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1 2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager 2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = rfc2109 2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII 2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1 2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.dateParser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z] 2004/09/08 10:37:20:828 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = compatibility 2004/09/08 10:37:20:891 EEST [DEBUG] wire - >> "GET /logintest/index.html HTTP/1.1[\r][\n]" 2004/09/08 10:37:20:906 EEST [DEBUG] HttpMethodBase - Adding Host request header 2004/09/08 10:37:20:906 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]" 2004/09/08 10:37:20:906 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - >> "[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "HTTP/1.1 302 Moved Temporarily[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Set-Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53; Path=/logintest[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Location: http://localhost:8080/logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Content-Length: 0[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]" 2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]" 2004/09/08 10:37:21:094 EEST [DEBUG] HttpMethodBase - Cookie accepted: "JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53" 2004/09/08 10:37:21:094 EEST [DEBUG] HttpMethodDirector - Redirect required 2004/09/08 10:37:21:094 EEST [DEBUG] HttpMethodDirector - Redirect requested to location 'http://localhost:8080/logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53' 2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodDirector - Redirecting from 'http://localhost:8080/logintest/index.html' to 'http://localhost:8080/logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53 2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodDirector - Execute redirect 1 of 100 2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy 2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1 2004/09/08 10:37:21:109 EEST [DEBUG] HttpConnection - Connection is locked. Call to releaseConnection() ignored. 2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "GET /logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53 HTTP/1.1[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodBase - Adding Host request header 2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "HTTP/1.1 200 OK[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "ETag: W/"882-1094628071703"[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Last-Modified: Wed, 08 Sep 2004 07:21:11 GMT[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Content-Type: text/html[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Content-Length: 882[\r][\n]" Login form get: HTTP/1.1 200 OK 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]" 2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]" Initial set of cookies: - JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53 Logon cookies: - JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53 2004/09/08 10:37:21:125 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy 2004/09/08 10:37:21:125 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1 2004/09/08 10:37:21:125 EEST [DEBUG] HttpConnection - Releasing connection back to connection manager. 2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "GET /logintest/secure/securepage.html HTTP/1.1[\r][\n]" 2004/09/08 10:37:21:125 EEST [DEBUG] HttpMethodBase - Adding Host request header 2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]" 2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]" 2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]" 2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "[\r][\n]" 2004/09/08 10:37:21:125 EEST [DEBUG] wire - << "HTTP/1.1 302 Moved Temporarily[\r][\n]" 2004/09/08 10:37:21:125 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]" 2004/09/08 10:37:21:125 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]" 2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]" 2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Location: http://localhost:8080/logintest/LoginForm.html[\r][\n]" 2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Content-Length: 0[\r][\n]" 2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]" 2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]" 2004/09/08 10:37:21:156 EEST [DEBUG] HttpMethodDirector - Redirect required 2004/09/08 10:37:21:156 EEST [DEBUG] HttpMethodDirector - Redirect requested to location 'http://localhost:8080/logintest/LoginForm.html' 2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodDirector - Redirecting from 'http://localhost:8080/logintest/secure/securepage.html' to 'http://localhost:8080/logintest/LoginForm.html 2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodDirector - Execute redirect 1 of 100 2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy 2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1 2004/09/08 10:37:21:219 EEST [DEBUG] HttpConnection - Connection is locked. Call to releaseConnection() ignored. 2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "GET /logintest/LoginForm.html HTTP/1.1[\r][\n]" 2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodBase - Adding Host request header 2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]" 2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]" 2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]" 2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "HTTP/1.1 200 OK[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "ETag: W/"882-1094628071703"[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Last-Modified: Wed, 08 Sep 2004 07:21:11 GMT[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Content-Type: text/html[\r][\n]"description: HTTP/1.1 200 OK Login Test: Login Form

Login Form

Welcome to the login page. You will have to authenticate to get access to the secure area:
Username:
Password:

2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Content-Length: 882[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]" 2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Buffering response body 2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy 2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1 2004/09/08 10:37:21:234 EEST [DEBUG] HttpConnection - Releasing connection back to connection manager. 2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Default charset used: ISO-8859-1 --=_alternative 002BA3D2C2256F09_= Content-Type: text/html; charset="US-ASCII"
----- Forwarded by Rares Portan/SPR/RO on 09/08/2004 10:54 AM -----
Rares Portan/SPR/RO

09/08/2004 10:54 AM

To
Rares Portan/SPR/RO@SPR
cc
Subject
RE: [HttpClient] How to use HttpClient with Form-based Authentication?





Hi,

Here you have the complete FormLoginDemo.java source and test war( logintest.text --- rename to war --- I got a mail-delivery failure when I try to attach archives) that can be deployed on Tomcat. The authentification POST method was removed from the source because the login form page is auto-submited when called from the browser.

The LoginForm.html uses javascript to complete submit on page load the login form, the form inputs are filled by default with Tomcat admin user and password, you will have to edit this file to perform a correct authentication by providing the correct credentials.

The problem still remains, I can't get any page except the login form page !






import java.io.File;

import org.apache.commons.httpclient.*;
import org.apache.commons.httpclient.cookie.CookiePolicy;
import org.apache.commons.httpclient.cookie.CookieSpec;
import org.apache.commons.httpclient.methods.*;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * <p>
 * A example that demonstrates how HttpClient APIs can be used to perform
 * form-based logon.
 * </p>
 *
 * @author Oleg Kalnichevski
 *
 */
public class FormLoginDemo
{
       
        static{
                System.setProperty("org.apache.commons.logging.Log", "org.apache.commons.logging.impl.SimpleLog");
                System.setProperty("org.apache.commons.logging.simplelog.showdatetime", "true");
                System.setProperty("org.apache.commons.logging.simplelog.log.httpclient.wire", "debug");                                        
                System.setProperty("org.apache.commons.logging.simplelog.log.org.apache.commons.httpclient", "debug");
        }
       
        private static Log log = LogFactory.getLog(FormLoginDemo.class);
       
    static final String LOGON_SITE = "localhost";
    static final int    LOGON_PORT = 8080;

    public FormLoginDemo() {
        super();
    }


    public static void main(String[] args) throws Exception {

        HttpClient client = new HttpClient();
        client.getHostConfiguration().setHost(LOGON_SITE, LOGON_PORT, "http");
        client.getParams().setCookiePolicy(CookiePolicy.BROWSER_COMPATIBILITY);

        GetMethod authget = new GetMethod("/logintest/index.html");

        client.executeMethod(authget);
        System.out.println("Login form get: " + authget.getStatusLine().toString());
        // release any connection resources used by the method        
        authget.releaseConnection();
        // See if we got any cookies
        CookieSpec cookiespec = CookiePolicy.getDefaultSpec();
        Cookie[] initcookies = cookiespec.match(
            LOGON_SITE, LOGON_PORT, "/logintest/", false, client.getState().getCookies());
        System.out.println("Initial set of cookies:");    
        if (initcookies.length == 0) {
            System.out.println("None");    
        } else {
            for (int i = 0; i < initcookies.length; i++) {
                System.out.println("- " + initcookies[i].toString());    
            }
        }
        int statuscode = authget.getStatusCode();
        if ((statuscode == HttpStatus.SC_MOVED_TEMPORARILY) ||
            (statuscode == HttpStatus.SC_MOVED_PERMANENTLY) ||
            (statuscode == HttpStatus.SC_SEE_OTHER) ||
            (statuscode == HttpStatus.SC_TEMPORARY_REDIRECT)) {
            Header header = authget.getResponseHeader("location");
            if (header != null) {
                String newuri = header.getValue();
                if ((newuri == null) || (newuri.equals(""))) {
                    newuri = "/";
                }
                System.out.println("Redirect target: " + newuri);
                GetMethod redirect = new GetMethod(newuri);
                                redirect.setFollowRedirects(true);
                client.executeMethod(redirect);
                System.out.println("Redirect: " + redirect.getStatusLine().toString());
                // release any connection resources used by the method
                System.out.println(redirect.getResponseBodyAsString());
                redirect.releaseConnection();                                                
               
            } else {
                System.out.println("Invalid redirect");
                System.exit(1);
            }
        }
       
                // See if we got any cookies
                // The only way of telling whether logon succeeded is
                // by finding a session cookie
                Cookie[] logoncookies = cookiespec.match(
                        LOGON_SITE, LOGON_PORT, "/logintest/", false, client.getState().getCookies());
                System.out.println("Logon cookies:");    
                if (logoncookies.length == 0) {
                        System.out.println("None");    
                } else {
                        for (int i = 0; i < logoncookies.length; i++) {
                                System.out.println("- " + logoncookies[i].toString());    
                        }
                }
       
       
                //TRY TO GET AN INNER PAGE
                GetMethod description= new GetMethod("http://localhost:8080/logintest/secure/securepage.html");
                client.executeMethod(description);
                System.out.println("description: " + description.getStatusLine().toString());
                System.out.println(description.getResponseBodyAsString());
                description.releaseConnection();
       
    }
}




LOGS:


2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Java version: 1.3.1
2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Java vendor: IBM Corporation
2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Java class path: <removed>
2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Operating system name: Windows XP
2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Operating system architecture: x86
2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - Operating system version: 5.1
2004/09/08 10:37:20:781 EEST [DEBUG] HttpClient - SUN 1.2: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore)
2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.useragent = Jakarta Commons-HttpClient/3.0-alpha1
2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.version = HTTP/1.1
2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager
2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = rfc2109
2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.element-charset = US-ASCII
2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.content-charset = ISO-8859-1
2004/09/08 10:37:20:797 EEST [DEBUG] DefaultHttpParams - Set parameter http.dateParser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z]
2004/09/08 10:37:20:828 EEST [DEBUG] DefaultHttpParams - Set parameter http.protocol.cookie-policy = compatibility
2004/09/08 10:37:20:891 EEST [DEBUG] wire - >> "GET /logintest/index.html HTTP/1.1[\r][\n]"
2004/09/08 10:37:20:906 EEST [DEBUG] HttpMethodBase - Adding Host request header
2004/09/08 10:37:20:906 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]"
2004/09/08 10:37:20:906 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - >> "[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "HTTP/1.1 302 Moved Temporarily[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Set-Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53; Path=/logintest[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Location: http://localhost:8080/logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Content-Length: 0[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]"
2004/09/08 10:37:20:922 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]"
2004/09/08 10:37:21:094 EEST [DEBUG] HttpMethodBase - Cookie accepted: "JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53"
2004/09/08 10:37:21:094 EEST [DEBUG] HttpMethodDirector - Redirect required
2004/09/08 10:37:21:094 EEST [DEBUG] HttpMethodDirector - Redirect requested to location 'http://localhost:8080/logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53'
2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodDirector - Redirecting from 'http://localhost:8080/logintest/index.html' to 'http://localhost:8080/logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53
2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodDirector - Execute redirect 1 of 100
2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy
2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1
2004/09/08 10:37:21:109 EEST [DEBUG] HttpConnection - Connection is locked.  Call to releaseConnection() ignored.
2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "GET /logintest/LoginForm.html;jsessionid=9C94E66B415FFB1D67E967CACCA94B53 HTTP/1.1[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] HttpMethodBase - Adding Host request header
2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - >> "[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "HTTP/1.1 200 OK[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "ETag: W/"882-1094628071703"[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Last-Modified: Wed, 08 Sep 2004 07:21:11 GMT[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Content-Type: text/html[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Content-Length: 882[\r][\n]"
Login form get: HTTP/1.1 200 OK
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]"
2004/09/08 10:37:21:109 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]"
Initial set of cookies:
- JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53
Logon cookies:
- JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53
2004/09/08 10:37:21:125 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy
2004/09/08 10:37:21:125 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1
2004/09/08 10:37:21:125 EEST [DEBUG] HttpConnection - Releasing connection back to connection manager.
2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "GET /logintest/secure/securepage.html HTTP/1.1[\r][\n]"
2004/09/08 10:37:21:125 EEST [DEBUG] HttpMethodBase - Adding Host request header
2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]"
2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]"
2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]"
2004/09/08 10:37:21:125 EEST [DEBUG] wire - >> "[\r][\n]"
2004/09/08 10:37:21:125 EEST [DEBUG] wire - << "HTTP/1.1 302 Moved Temporarily[\r][\n]"
2004/09/08 10:37:21:125 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]"
2004/09/08 10:37:21:125 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]"
2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Location: http://localhost:8080/logintest/LoginForm.html[\r][\n]"
2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Content-Length: 0[\r][\n]"
2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]"
2004/09/08 10:37:21:156 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]"
2004/09/08 10:37:21:156 EEST [DEBUG] HttpMethodDirector - Redirect required
2004/09/08 10:37:21:156 EEST [DEBUG] HttpMethodDirector - Redirect requested to location 'http://localhost:8080/logintest/LoginForm.html'
2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodDirector - Redirecting from 'http://localhost:8080/logintest/secure/securepage.html' to 'http://localhost:8080/logintest/LoginForm.html
2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodDirector - Execute redirect 1 of 100
2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy
2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1
2004/09/08 10:37:21:219 EEST [DEBUG] HttpConnection - Connection is locked.  Call to releaseConnection() ignored.
2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "GET /logintest/LoginForm.html HTTP/1.1[\r][\n]"
2004/09/08 10:37:21:219 EEST [DEBUG] HttpMethodBase - Adding Host request header
2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "User-Agent: Jakarta Commons-HttpClient/3.0-alpha1[\r][\n]"
2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "Host: localhost:8080[\r][\n]"
2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "Cookie: JSESSIONID=9C94E66B415FFB1D67E967CACCA94B53[\r][\n]"
2004/09/08 10:37:21:219 EEST [DEBUG] wire - >> "[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "HTTP/1.1 200 OK[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Pragma: No-cache[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Cache-Control: no-cache[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "ETag: W/"882-1094628071703"[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Last-Modified: Wed, 08 Sep 2004 07:21:11 GMT[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Content-Type: text/html[\r][\n]"description: HTTP/1.1 200 OK

<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Login Test: Login Form</title>
<script language="Javascript">

function login() {
   document.getElementById("login_form").submit();
}

</script>
</head>

<body onload="login();">
<h1>Login Form</h1>

          Welcome to the login page.  You will have to authenticate to get access to the secure area:

    <form id="login_form" method="POST" action="j_security_check">

      Username: <input type="text" name="j_username" value="admin" ><br />
      Password: <input type="password" name="j_password" value="admin" ><br />
          <br />

      <input type="submit" value="Login">
      <input type="reset" value="Reset">

    </form>

</body>
</html>
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Content-Length: 882[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Date: Wed, 08 Sep 2004 07:37:20 GMT[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] wire - << "Server: Apache-Coyote/1.1[\r][\n]"
2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Buffering response body
2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Resorting to protocol version default close connection policy
2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Should NOT close connection, using HTTP/1.1
2004/09/08 10:37:21:234 EEST [DEBUG] HttpConnection - Releasing connection back to connection manager.
2004/09/08 10:37:21:234 EEST [DEBUG] HttpMethodBase - Default charset used: ISO-8859-1




--=_alternative 002BA3D2C2256F09_=-- --=_mixed 002BA3D2C2256F09_= Content-Type: text/plain; name="logintest.txt" Content-Disposition: attachment; filename="logintest.txt" Content-Transfer-Encoding: quoted-printable PK=03=04=14=00=02=00=08=00=0Cg=92*=1AH=8A=E4C=01=00=00=00=02=00=00=14=00=00= =00logintest/index.htmlm=90=DFk=C20=10=C7=DF=05=FF=873{=B67=F1=C9=D1V=98:&= =B8)=D2=B1=ED1=B6g=1BH=9B.I=AD=FD=EF=97=B4=C26=D8=BD=DCq?>=DFo=12.=AF=A5=84= =0Bi#T=15=B1Yp=CF=96=F1x=14N=D6=FBU=F2y=D8@a=DD=FC=F0=F6=B8=DB=AE=80M=11=DF= =E7+=C4u=B2=86=8F=E7=E4e=07=EE=00=12=CD+#=AC=03p=89=B8ye=E3=11=B8`=85=B5=F5= =03b=DB=B6A;=0F=94=CE19=E2=D5=03g=9Ep+=A7=F6=D7y=90=D9=8C9}=E7=A0=17v=E6*= =13=FDC=9A-=16=8B=01=E0=D7=C3=82x=E6=B3=15VR=BCS=B9=A8 !cC=1C:n=84=B7=1DW= =9ET=D6=C1)O=95T:bwO}x=CE;=C9T=95=04V=81-=08~8P=F3=9C=02=7F=AA=01=3D=AD=8E= =8F=F4=D5=F8 =07Ci=A3=A9=5F=81=90C=A1=E9=1C=B1=A1=89C=EA=AF=07=B3=05i=9A=84= =C8=E3=10=EB=F8=0Fpk=A1=15RB=ADUY[=E8T=E3}=C8=DECcD=95;=A9=B41V=95pV=BA=0C= =FA=5F=DEW=B2=EB=BD=9A=CEX*=DD"iHy=05=17A=AD=1B=083X=BF=A9=A1=7F=FA=F0=1B= =CE=8D+=BE=01PK=03=04=14=00=02=00=08=008g=92*PY=87=5F3=01=00=00=DA=01=00=00= =19=00=00=00logintest/LoginError.htmlmOMO=83@=10=BD7=E9=7F=18=D7=ABe$=3D=B5= =01=9AHkl=82=DA4=18=F5=B8-+=10=81%=B3K)=FF=DE=A1[=13=0F=CEe&3=EFc^=B0:=D7= =15=9C=14=99R7=A1=F0=BD{=B1=8A=A6=93=E0f=FD=1A=A7=9F=BB=0D=14=96=EF=BB=B7= =87d=1B=83=98!=BE=CFc=C4u=BA=86=8F=A7=F49=01&@J=B21=A5e=01Y!n^=C4t=02\=A2= =B0=B6]"=F6}=EF=F5sOS=8E=E9=1E=CF=A3=A0?*\=C7=99=FDC=F72=9B =F6=E7=0F.=C6= =FC\c=C2=7F=94=FC=C5b=E1=04FxP(=99=8D=DD=96=B6RQ=A2=F3=B2=81T=19=BB=84=0D= =91&=A8t=CE=AB=1C=CA&@=87a0^Y<=1Et6=C0!?=EAJS(n=1F/=F5=FB=88=1F9=91=E4*=B2e= =11^=8E=C7-=C8=1A=8C&=1A=EE`=D0=1D=D4=9D=B1P=C8=93=82=B6=B3=EC=06=B6P=D0=93= fVg=145=B2V=D8JczM=99=E7=9C =D0=F9H(H}=85=C2=A8cG=0A]ke=AE<=173=AE=CA=E37= =14=8A=14X=0D=96=06=90=B9=1C=03I=C7=C71=84=CB=C5=F8=E8=07PK=03=04=14=00=02= =00=08=00=A5R(1y/3*=E4=01=00=00r=03=00=00=18=00=00=00logintest/LoginForm.ht= mlu=92Qo=DA0=10=C7=9F=8B=C4w=B8=F9 =1E=1A=0F=F5 =1AR=A9=C0=B4N=ACE]=AA=AEO= =C8$.=F1=E6=D8=91}!=A0i=DF}v=1CJ[uy=C9=F9=FC=BF=DF=FD/=97=F8j=5FJ=D8qc=85VS= 2=8A>=93=AB=A4=DF=8B?=CD=EFf=E9=D3j=01=05=BA=FB=D5=C3=F5=F2f=06=E4=9C=D2=C7= =8B=19=A5=F3t=0E?=BF=A6=DF=97=E0=0A 5LY=81=0E=C0$=A5=8B[=D2=EF=81{H=81XM(m= =9A&j."m=B64=BD=A7{=0F=1CyB=17=9E=E3=AB=F2(=C7=9C=B8=FE=CEA=DB=D8=99Sv=FA= =01i4=1E=8F=03=C0=CB=E3=82=B3=DC=BFQ=A0=E4=C9Ro=85=82=94[=9C@=88=BFhS=C64= =DC:=99=CD=8C=A8=10$S=DB=9Am=F9=94|c;=16=92=A1=FBs=AD2=EF=08=A4/=1F=0C=E1O;= S=AE=B3=BA=E4=0A=A3-=C7=85=E4>=BC>=DC=E4=03=D2=CA=D6=CF=AE=0B=19F=B6=DE=94= =02=07=C3=CB~=EFo;=0A=0Dh=DF=99vN]=B8=D1=F9=01=B4=92=9A=E5S=D2=F5=B9=0C=D3= =8C=92=D7=B6=DD=D1=17=00=9C=3Dr=99=E9=92=03j=C0=82=07sP=B9 "=80']C#=A4=84= =82=EDZ=05=AB=9DF=A1=C8=18=B6g=E7=19X=96qk=8F=F5=96g=B5=E1=C0=0Cg=93=D0=01 = =F6C=808Z=0A3A=C9=B1=D0.=B7=BA=FB=91=12G=C1=F6o=F9=B5n =02=0F=EB=AC=E0=D9o= =92=1C)=00=0F=96=1B=C5J>=81X=A8=AAF=C0C=E5>4=F2=3D=12=F0=17=BE=BC=EED=04vL= =D6.=C5=F2R(=02I=BC1@=93#k=C5=ACm=B4=C9=DF=B1=AA.}=E2=9D2=FF=E1=9D=B9=01=BB= =F0=08=7F=83=0C=AB{)o=B7@=92=0F=A5=86[~R=DE=B7=A7=17lL=FDw=0B{=A6~=D1a=F7= =EEwM=FE=01PK=03=04=0A=00=00=00=00=00=A7f=92*=00=00=00=00=00=00=00=00=00=00= =00=00=11=00=00=00logintest/secure/PK=03=04=14=00=02=00=08=00ch=92*#=F6Mi = =01=00=00=92=01=00=00 =00=00=00logintest/secure/securepage.htmlmO=DFO=830= =10~=5F=B2=FF=E1=AC=AF=8E=93=EC=89=05X=14f4A]&F},P=81=A4R=D3=16=19=FF=BDW= =98=89&=DE=CB}=D7=BB=EFG=C3=ED=F1C=C2=97=D0=A6U]=C4|=EF=92m=E3=E5"C=E0=1BPK=03=04=0A= =00=00=00=00=00=A7f=92*=00=00=00=00=00=00=00=00=00=00=00=00=12=00=00=00logi= ntest/WEB-INF/PK=03=04=14=00=02=00=08=00=F1P(1/>=FA=B0=0A=02=00=00$=05=00= =00=19=00=00=00logintest/WEB-INF/web.xml}T]o=9B0=14}=CE=A4=FD=87;=1E=A7=19o= y=9C<=AA=AD=A1S=A5=B4=89J=A6iO=95=037=89+c3=DBt=CD=BF=9F=0D$=81=84=16^=F09= =F7=E3=DC=0F=C3=AE^J =CFh=AC=D0=EA[=F4%=FE=1C]%=EF=DF=B1=0F=B3=C5=F5=EA=CF2= =85=7F=B8&=BC=AA`=F9=EB=C7=FC=F6=1A"BiV+=B8=13=B9=D1vo=1D=96=F6=13=DC=AA<= =A6t=B6=9A=C1o\=C3=F7=AA=92"=E7=CEG=84i<=A54=BD=8F =DA9W}=A5=F4=89?=F3=D8= =D6*=CEuI=9F=A6=88=B4p=85=A5]=9A=C7=E9=E34=F6@=E45x=15=1D=EA=0F=E0=9F=89?K= =EF=86d#$=12)=AC=F3=CCd=08'B=15=F8=12=EF\)=19=1D=10=DEt=88=1C"=84w=C2,=E6= =B5=11nOr=AD=AC3\=A8c=F451humr=F4=A4=94=98=87=D2=1A=F2=8CU=BC=C4$=0B=81p=C9= =B7h=19=BD=A4[=B7=02mnD=D5=04=CA=BA=CCp=CA=0C=1Bm=E0=E0gA(p;=84F"B!=8C=97= =A0=CD=9E=D1~=986pm$=A9=B8shT=F2=91=D1=FE=B15=08s %=BA=9D.=92=E5"[1=DAG.m~= =A6#&g=85=0D=BA=D2=F0=BCv=BB=F3N=0E=AB=D6J=EEA=A2k+k6 j=8B=06=A4=DE=FAz=C7j= 3ZvM=E4E)=14=A3'=A0=15u=99=B5=C1CXRp=C7=DFV=94esP=DA=F9=BE=FF=AD}=8B=8B1 = =DEY=D9J=1BG=B65=F7=DF=0E1=B9=5F=DC=A7=8C=8E1=AD=AA=D7=D23:=BEs=E1m=F7=BDiE= 7b{=B8=04]o=BBa=DC,=1E=EE=BA=BA=8F=E3=E9=CC=FC=0A=95d4=C2=80=AB=FC=A2&t=1E= =BEo<=DA=DD=9Cs=833W4F=9B=BEk=1A=80=BEo=CF=E2=A8=88=BE*=89=D1=11tp+=C3=A8C= =D3=021=98=DA=CA=AFO{=E5=E0a1O/=86=D68=BC=B99=D0=9FD=97=87=D1=D3=BF=E7?PK= =03=04=0A=00=00=00=00=00=E3i=92*=00=00=00=00=00=00=00=00=00=00=00=00=0A=00= =00=00logintest/PK=01=02=14=00=14=00=02=00=08=00=0Cg=92*=1AH=8A=E4C=01=00= =00=00=02=00=00=14=00=00=00=00=00=00=00=01=00 =00=00=00=00=00=00=00logintes= t/index.htmlPK=01=02=14=00=14=00=02=00=08=008g=92*PY=87=5F3=01=00=00=DA=01= =00=00=19=00=00=00=00=00=00=00=01=00 =00=00=00u=01=00=00logintest/LoginErro= r.htmlPK=01=02=14=00=14=00=02=00=08=00=A5R(1y/3*=E4=01=00=00r=03=00=00=18= =00=00=00=00=00=00=00=01=00 =00=00=00=DF=02=00=00logintest/LoginForm.htmlPK= =01=02=14=00=0A=00=00=00=00=00=A7f=92*=00=00=00=00=00=00=00=00=00=00=00=00= =11=00=00=00=00=00=00=00=00=00=10=00=FFA=F9=04=00=00logintest/secure/PK=01= =02=14=00=14=00=02=00=08=00ch=92*#=F6Mi =01=00=00=92=01=00=00 =00=00=00=00= =00=00=00=01=00 =00=00=00(=05=00=00logintest/secure/securepage.htmlPK=01=02= =14=00=0A=00=00=00=00=00=A7f=92*=00=00=00=00=00=00=00=00=00=00=00=00=12=00= =00=00=00=00=00=00=00=00=10=00=FFAo=06=00=00logintest/WEB-INF/PK=01=02=14= =00=14=00=02=00=08=00=F1P(1/>=FA=B0=0A=02=00=00$=05=00=00=19=00=00=00=00=00= =00=00=01=00 =00=00=00=9F=06=00=00logintest/WEB-INF/web.xmlPK=01=02=14=00= =0A=00=00=00=00=00=E3i=92*=00=00=00=00=00=00=00=00=00=00=00=00=0A=00=00=00= =00=00=00=00=00=00=10=00=FFA=E0=08=00=00logintest/PK=05=06=00=00=00=00=08= =00=08=00=1B=02=00=00=08 =00=00=00=00= --=_mixed 002BA3D2C2256F09_= Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org --=_mixed 002BA3D2C2256F09_=--