I am attempting to use httpclient 3.0 to via a proxy.

However I have not been able to get it work.
The proxy server is NT.
I have attempted using both UserPasswordCredentials and NTCredentials.

Here is the code and output.
And yes i am using the right password.
Any help is appreciated.

Thanks
Bernadette
---
public String getTest() {

                String strURL = "http://www.google.com";;
                String response = "";

                GetMethod get = new GetMethod(strURL);
                try {

                        // Get HTTP client
                        HttpClient httpclient = new HttpClient();
                        HostConfiguration config = 
httpclient.getHostConfiguration();
                        // add proxy stuff
                        if (prop.isvia_proxy()) {

                                config.setProxy(prop.getProxy_host(), 
prop.getProxy_port());

                                AuthScope auth = new AuthScope(null, -1, null, 
null);
                                Credentials creds = null;
                                if (logger.isDebugEnabled()) {
                                        logger.debug("getTest()");
                                }
                                // creds = new 
UsernamePasswordCredentials(prop.getProxy_user(),
                                // prop.getProxy_pass());

                                creds = new NTCredentials(prop.getProxy_user, 
prop.getProxy_pass(),
                                                prop.getProxy_host(), "IE");
                                httpclient.getState().setProxyCredentials(auth, 
creds);


                                List authPrefs = new ArrayList(1);

                                authPrefs.add(AuthPolicy.NTLM);

                                
httpclient.getParams().setParameter(AuthPolicy.NTLM, authPrefs);
                                httpclient.getParams().setParameter(
                                                
"http.protocol.expect-continue", new Boolean(true));


                                get.setDoAuthentication(true);
                        }

                        HttpConnectionParams param = 
httpclient.getHttpConnectionManager()
                                        .getParams();
                        param.setConnectionTimeout(120 * 1000);
                        param.setSoTimeout(300 * 1000);



                        int status = httpclient.executeMethod(get);

        }
-----------------
746 <DEBUG> [main] dummy.HttpTest.main() -
main(String[]=[Ljava.lang.String;@1632c2d) - start
796 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.useragent = Jakarta Commons-HttpClient/3.0
796 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.protocol.version = HTTP/1.1
826 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.connection-manager.class = class
org.apache.commons.httpclient.SimpleHttpConnectionManager
826 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.protocol.cookie-policy = rfc2109
836 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.protocol.element-charset = US-ASCII
836 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.protocol.content-charset = ISO-8859-1
866 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.method.retry-handler =
[EMAIL PROTECTED]
876 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - 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]
906 <DEBUG> [main] org.apache.commons.httpclient.methods.GetMethod.<init>() -
enter GetMethod(String)
916 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() - Java
version: 1.4.2_10
916 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() - Java
vendor: Sun Microsystems Inc.
936 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() - Java
class path:
C:\workspace\xiamcaller\build;C:\commons-httpclient-3.0\commons-httpclient-3.0.jar;C:\DS_Area\CCDD\Source\lib\commons-validator.jar;C:\DS_Area\CCDD\Source\lib\commons-collections.jar;C:\DS_Area\CCDD\Source\lib\commons-digester.jar;C:\DS_Area\CCDD\Source\lib\commons-discovery.jar;C:\DS_Area\CCDD\Source\lib\commons-fileupload.jar;C:\DS_Area\CCDD\Source\lib\commons-lang-2.1.jar;C:\DS_Area\CCDD\Source\lib\commons-logging.jar;C:\DS_Area\CCDD\Source\lib\commons-beanutils.jar;C:\commons-codec-1.3\commons-codec-1.3.jar;C:\caramel-1.0-b1\caramel-1.0-b1.jar;C:\workspace\batch\lib\log4j.jar;C:\jwsdp-1.6\jaxb\lib\jaxb-xjc.jar;C:\jwsdp-1.6\jaxb\lib\jaxb-impl.jar;C:\jwsdp-1.6\jaxb\lib\jaxb-libs.jar;C:\jwsdp-1.6\jaxb\lib\jaxb-api.jar;C:\jwsdp-1.6\jwsdp-shared\lib\activation.jar;C:\jwsdp-1.6\jwsdp-shared\lib\mail.jar;C:\jwsdp-1.6\jwsdp-shared\lib\relaxngDatatype.jar;C:\jwsdp-1.6\jaxp\lib\jaxp-api.jar;C:\DS_Area\Unified_Middleware\Source\lib\jaxb\xsdlib.jar;C:\DS_Area\Unified_Middleware\Sourc
 
e\lib\jaxb\jaxb-impl.jar;C:\DS_Area\Unified_Middleware\Source\lib\jaxb\jaxb-libs.jar;C:\DS_Area\Unified_Middleware\Source\lib\jaxb\jaxb-xjc.jar;C:\DS_Area\Unified_Middleware\Source\lib\jaxb\jsr173_api.jar;C:\DS_Area\Unified_Middleware\Source\lib\jaxb\namespace.jar;C:\DS_Area\Unified_Middleware\Source\lib\jaxb\relaxngDatatype.jar;C:\DS_Area\Unified_Middleware\Source\lib\jaxb\jaxb-api.jar
936 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() -
Operating system name: Windows 2000
936 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() -
Operating system architecture: x86
946 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() -
Operating system version: 5.0
076 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() - SUN
1.42: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests;
SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX
CertPathBuilder; LDAP, Collection CertStores)
076 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() - SunJSSE
1.42: Sun JSSE provider(implements RSA Signatures, PKCS12, SunX509 key/trust
factories, SSLv3, TLSv1)
076 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() -
SunRsaSign 1.42: SUN's provider for RSA signatures
076 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() - SunJCE
1.42: SunJCE Provider (implements DES, Triple DES, AES, Blowfish, PBE,
Diffie-Hellman, HMAC-MD5, HMAC-SHA1)
076 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.<clinit>() - SunJGSS
1.0: Sun (Kerberos v5)
086 <DEBUG> [main] dummy.HttpTest.getTest() - getTest()
106 <DEBUG> [main] dummy.HttpTest.getTest() - getTest()
106 <DEBUG> [main] org.apache.commons.httpclient.HttpState.setProxyCredentials()
- enter HttpState.setProxyCredentials(AuthScope, Credentials)
116 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.authentication.preemptive = true
116 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter NTLM = [NTLM]
116 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.protocol.expect-continue = true
116 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.connection.timeout = 120000
116 <DEBUG> [main]
org.apache.commons.httpclient.params.DefaultHttpParams.setParameter() - Set
parameter http.socket.timeout = 300000
116 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.executeMethod() -
enter HttpClient.executeMethod(HttpMethod)
116 <DEBUG> [main] org.apache.commons.httpclient.HttpClient.executeMethod() -
enter HttpClient.executeMethod(HostConfiguration,HttpMethod,HttpState)
136 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.executeMethod() - Preemptively
sending default basic credentials
146 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.authenticateProxy() -
Authenticating with BASIC <any realm>@172.26.11.47:80
146 <DEBUG> [main] org.apache.commons.httpclient.HttpState.getProxyCredentials()
- enter HttpState.getProxyCredentials(AuthScope)
156 <DEBUG> [main] org.apache.commons.httpclient.auth.BasicScheme.authenticate()
- enter BasicScheme.authenticate(Credentials, HttpMethod)
156 <DEBUG> [main]
org.apache.commons.httpclient.params.HttpMethodParams.getCredentialCharset() -
Credential charset not configured, using HTTP element charset
156 <DEBUG> [main] org.apache.commons.httpclient.auth.BasicScheme.authenticate()
- enter BasicScheme.authenticate(UsernamePasswordCredentials, String)
156 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addRequestHeader() -
HttpMethodBase.addRequestHeader(Header)
166 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.authenticateHost() -
Authenticating with BASIC <any realm>@193.95.160.216:80
166 <DEBUG> [main] org.apache.commons.httpclient.HttpState.getCredentials() -
enter HttpState.getCredentials(AuthScope)
166 <WARN > [main]
org.apache.commons.httpclient.HttpMethodDirector.authenticateHost() - Required
credentials not available for BASIC <any realm>@193.95.160.216:80
166 <WARN > [main]
org.apache.commons.httpclient.HttpMethodDirector.authenticateHost() - Preemptive
authentication requested but no default credentials available
166 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry() - Attempt
number 1 to process request
166 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.open() - enter
HttpConnection.open()
186 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.open() - Open
connection to 172.26.11.47:80
206 <DEBUG> [main] org.apache.commons.httpclient.HttpMethodBase.execute() -
enter HttpMethodBase.execute(HttpState, HttpConnection)
206 <DEBUG> [main] org.apache.commons.httpclient.HttpMethodBase.writeRequest() -
enter HttpMethodBase.writeRequest(HttpState, HttpConnection)
206 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.writeRequestLine() - enter
HttpMethodBase.writeRequestLine(HttpState, HttpConnection)
226 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.generateRequestLine() - enter
HttpMethodBase.generateRequestLine(HttpConnection, String, String, String,
String)
246 <DEBUG> [main] httpclient.wire.header.wire() - >> "GET
http://193.95.160.216/media/OutletActions HTTP/1.1[\r][\n]"
246 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.print() - enter
HttpConnection.print(String)
246 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[])
246 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[], int, int)
246 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.writeRequestHeaders() - enter
HttpMethodBase.writeRequestHeaders(HttpState,HttpConnection)
246 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addRequestHeaders() - enter
HttpMethodBase.addRequestHeaders(HttpState, HttpConnection)
256 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addUserAgentRequestHeader() - enter
HttpMethodBase.addUserAgentRequestHeaders(HttpState, HttpConnection)
256 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addHostRequestHeader() - enter
HttpMethodBase.addHostRequestHeader(HttpState, HttpConnection)
256 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addHostRequestHeader() - Adding
Host request header
256 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addCookieRequestHeader() - enter
HttpMethodBase.addCookieRequestHeader(HttpState, HttpConnection)
276 <DEBUG> [main] org.apache.commons.httpclient.HttpState.getCookies() - enter
HttpState.getCookies()
276 <DEBUG> [main] org.apache.commons.httpclient.cookie.CookieSpec.match() -
enter CookieSpecBase.match(String, int, String, boolean, Cookie[])
276 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addProxyConnectionHeader() - enter
HttpMethodBase.addProxyConnectionHeader(HttpState, HttpConnection)
276 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.addRequestHeader() -
HttpMethodBase.addRequestHeader(Header)
276 <DEBUG> [main] httpclient.wire.header.wire() - >> "Proxy-Authorization:
Basic Y19odXJsZXlfYjpNM20wcjN4MTIz[\r][\n]"
276 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.print() - enter
HttpConnection.print(String)
276 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[])
296 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[], int, int)
296 <DEBUG> [main] httpclient.wire.header.wire() - >> "User-Agent: Jakarta
Commons-HttpClient/3.0[\r][\n]"
296 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.print() - enter
HttpConnection.print(String)
296 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[])
307 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[], int, int)
307 <DEBUG> [main] httpclient.wire.header.wire() - >> "Host:
193.95.160.216[\r][\n]"
307 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.print() - enter
HttpConnection.print(String)
337 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[])
337 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[], int, int)
337 <DEBUG> [main] httpclient.wire.header.wire() - >> "Proxy-Connection:
Keep-Alive[\r][\n]"
337 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.print() - enter
HttpConnection.print(String)
337 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[])
347 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[], int, int)
347 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.writeLine() -
enter HttpConnection.writeLine()
347 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[])
347 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.write() - enter
HttpConnection.write(byte[], int, int)
347 <DEBUG> [main] httpclient.wire.header.wire() - >> "[\r][\n]"
347 <DEBUG> [main]
org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream() - enter
HttpConnection.flushRequestOutputStream()
347 <DEBUG> [main] org.apache.commons.httpclient.HttpMethodBase.readResponse() -
enter HttpMethodBase.readResponse(HttpState, HttpConnection)
357 <DEBUG> [main] org.apache.commons.httpclient.HttpMethodBase.readStatusLine()
- enter HttpMethodBase.readStatusLine(HttpState, HttpConnection)
357 <DEBUG> [main] org.apache.commons.httpclient.HttpConnection.readLine() -
enter HttpConnection.readLine()
357 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
357 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
357 <DEBUG> [main] httpclient.wire.header.wire() - << "HTTP/1.1 407 Proxy
Authentication Required ( The ISA Server requires authorization to fulfill the
request. Access to the Web Proxy service is denied.  )[\r][\n]"
367 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.readResponseHeaders() - enter
HttpMethodBase.readResponseHeaders(HttpState,HttpConnection)
367 <DEBUG> [main]
org.apache.commons.httpclient.HttpConnection.getResponseInputStream() - enter
HttpConnection.getResponseInputStream()
367 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.parseHeaders() -
enter HeaderParser.parseHeaders(InputStream, String)
367 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
367 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
367 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
367 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
377 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
387 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
397 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readLine() - enter
HttpParser.readLine(InputStream, String)
397 <DEBUG> [main] org.apache.commons.httpclient.HttpParser.readRawLine() -
enter HttpParser.readRawLine()
397 <DEBUG> [main] httpclient.wire.header.wire() - << "Via: 1.1
IENT1ISA001[\r][\n]"
397 <DEBUG> [main] httpclient.wire.header.wire() - << "Proxy-Authenticate:
NTLM[\r][\n]"
397 <DEBUG> [main] httpclient.wire.header.wire() - << "Proxy-Authenticate:
Kerberos[\r][\n]"
407 <DEBUG> [main] httpclient.wire.header.wire() - << "Proxy-Authenticate:
Negotiate[\r][\n]"
407 <DEBUG> [main] httpclient.wire.header.wire() - << "Connection:
close[\r][\n]"
407 <DEBUG> [main] httpclient.wire.header.wire() - << "Proxy-Connection:
close[\r][\n]"
407 <DEBUG> [main] httpclient.wire.header.wire() - << "Pragma: no-cache[\r][\n]"
407 <DEBUG> [main] httpclient.wire.header.wire() - << "Cache-Control:
no-cache[\r][\n]"
407 <DEBUG> [main] httpclient.wire.header.wire() - << "Content-Type:
text/html[\r][\n]"
407 <DEBUG> [main] httpclient.wire.header.wire() - << "Content-Length:
3779[\r][\n]"
417 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.processResponseHeaders() - enter
HttpMethodBase.processResponseHeaders(HttpState, HttpConnection)
417 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.readResponseBody() - enter
HttpMethodBase.readResponseBody(HttpState, HttpConnection)
417 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.readResponseBody() - enter
HttpMethodBase.readResponseBody(HttpConnection)
417 <DEBUG> [main]
org.apache.commons.httpclient.HttpConnection.getResponseInputStream() - enter
HttpConnection.getResponseInputStream()
417 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodBase.canResponseHaveBody() - enter
HttpMethodBase.canResponseHaveBody(int)
417 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.isAuthenticationNeeded() -
Authorization required
427 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.processAuthenticationResponse()
- enter HttpMethodBase.processAuthenticationResponse(HttpState, HttpConnection)
427 <DEBUG> [main]
org.apache.commons.httpclient.auth.AuthChallengeProcessor.selectAuthScheme() -
Supported authentication schemes in the order of preference: [ntlm, digest,
basic]
427 <INFO > [main]
org.apache.commons.httpclient.auth.AuthChallengeProcessor.selectAuthScheme() -
ntlm authentication scheme selected
427 <DEBUG> [main]
org.apache.commons.httpclient.auth.AuthChallengeProcessor.processChallenge() -
Using authentication scheme: ntlm
427 <DEBUG> [main]
org.apache.commons.httpclient.auth.AuthChallengeProcessor.processChallenge() -
Authorization challenge processed
427 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.processProxyAuthChallenge() -
Proxy authentication scope: NTLM <any realm>@172.26.11.47:80
457 <DEBUG> [main] org.apache.commons.httpclient.HttpState.getProxyCredentials()
- enter HttpState.getProxyCredentials(AuthScope)
457 <DEBUG> [main]
org.apache.commons.httpclient.HttpMethodDirector.executeMethod() - Retry
authentication
457 <DEBUG> [main] httpclient.wire.content.wire() - << "<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Transitional//EN">[\r][\n]"
457 <DEBUG> [main] httpclient.wire.content.wire() - << "<HTML
dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE>[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "<STYLE>A:link {[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]FONT: 8pt/11pt
verdana; COLOR: #ff0000[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "}[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "A:visited {[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]FONT: 8pt/11pt
verdana; COLOR: #4e4e4e[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "}[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "</STYLE>[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "[\r][\n]"
467 <DEBUG> [main] httpclient.wire.content.wire() - << "<META content=NOINDEX
name=ROBOTS>[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "<META
http-equiv=Content-Type content="text-html; charset=Windows-1252">[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "<SCRIPT> [\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "function
Homepage(){[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "<!--[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "// in real bits, urls
get returned to our script like this:[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "//
res://shdocvw.dll/http_404.htm#http://www.DocURL.com/bar.htm [\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]//For testing use
DocURL =
"res://shdocvw.dll/http_404.htm#https://www.microsoft.com/bar.htm"[\r][\n]";
477 <DEBUG> [main] httpclient.wire.content.wire() - <<
"[0x9]DocURL=document.URL;[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9][\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]//this is where the
http or https will be, as found by searching for :// but skipping the
res://[\r][\n]"
477 <DEBUG> [main] httpclient.wire.content.wire() - <<
"[0x9]protocolIndex=DocURL.indexOf("://",4);[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9][\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]//this finds the
ending slash for the domain server [\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - <<
"[0x9]serverIndex=DocURL.indexOf("/",protocolIndex + 3);[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - << "[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]//for the href, we
need a valid URL to the domain. We search for the # symbol to find the begining
[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]//of the "
487 <DEBUG> [main] httpclient.wire.content.wire() - << "true URL, and add 1 to
skip it - this is the BeginURL value. We use serverIndex as the end
marker.[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - <<
"[0x9]//urlresult=DocURL.substring(protocolIndex - 4,serverIndex);[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - <<
"[0x9]BeginURL=DocURL.indexOf("#",1) + 1;[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - <<
"[0x9]urlresult=DocURL.substring(BeginURL,serverIndex);[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9][0x9][\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]//for display, we
need to skip after http://, and go to the next slash[\r][\n]"
487 <DEBUG> [main] httpclient.wire.content.wire() - <<
"[0x9]displayresult=DocURL.substring(protocolIndex + 3 ,serverIndex);[\r][\n]"
507 <DEBUG> [main] httpclient.wire.content.wire() - << "[0x9]document.write('<A
HREF="' + urlresult + '">' + displayresult + "</a>");[\r][\n]"
507 <DEBUG> [main] httpclient.wire.content.wire() - << "}[\r][\n]"
507 <DEBUG> [main] httpclient.wire.content.wire() - << "//-->[\r][\n]"

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to