[jcifs] NTLM authentication through Java application

Michael B Allen mba2000 at ioplex.com
Mon Mar 29 18:35:12 GMT 2004


Omprakash  Ahirwar said:
>        jcifs.Config.registerSmbURLHandler();
>
>        URL url = new URL("http://www.google.co.in");
>
>         HttpURLConnection aConnection =
> (HttpURLConnection)(url.openConnection());
>     .........
>
> ###CODE#####
>
> This code is working FINE in the  "JDK 1.4.X_XX" .
> But the Same Code is NOT working in the  "JDK 1.3.1_XX "...
> I ' ve tried  the Same Code in the "JDK 1.3.1" , "JDK 1.3.1_11" ,
>     "JDK 1.3.1_02" , "JDK 1.3.1_06" ....
>
> The Exception thrown in all cases .... "UnknownHostException : for
> http://www.google.co.in "

And if you comment out the registerSmbURLHandler the code works?

Mike


More information about the jcifs mailing list