You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Marcelo Muzilli (IG)" <mm...@ig.com.br> on 2004/03/12 14:10:59 UTC
NTLM authenticity problem
Howdy people,
I´m a newbie in Servlet programming and I need to develop a code to
run in a Ms IIS Webserver (the code needs authenticate in the IIS using the
NTLM authentication protocol).
I found a code that will authenticate me but I have not success for
this. I downloaded the .JAR and DOCs from the Jakarta homepage and if you
try to compile the following example code (found in the link
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/Al
ternateAuthenticationExample.java), it returns na error because there is no
libs, listed above, inside the .JAR:
import org.apache.commons.httpclient.UsernamePasswordCredentials;
import org.apache.commons.httpclient.auth.AuthPolicy;
Please, where could I find it or please if somebody could help me?
Thanks in advance,
Marcelo Muzilli
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
RES: NTLM authenticity problem
Posted by "Marcelo Muzilli (IG)" <mm...@ig.com.br>.
Hy Ortwin,
I downloaded and put the JAR in my classpath, but when I try to
compile my servlet, it returns an error:
"HttpClientTutorial.java": cannot resolve symbol: class AuthPolicy in
package auth at line 7, column 43" and
"HttpClientTutorial.java: cannot resolve symbol: variable AuthPolicy in
class HttpClientTutorial at line 48, column 20",
because it cannot find the AuthPolicy class inside the package. Is
this rigth?
Regards,
Marcelo
-----Mensagem original-----
De: Ortwin Glück [mailto:ortwin.glueck@nose.ch]
Enviada em: sexta-feira, 12 de março de 2004 10:17
Para: Commons HttpClient Project
Assunto: Re: NTLM authenticity problem
Get HttpClient from here:
http://jakarta.apache.org/commons/httpclient/downloads.html
Make sure you put the jar file on your classpath.
Ortwin Glück
Marcelo Muzilli (IG) wrote:
> Howdy people,
> I´m a newbie in Servlet programming and I need to develop a code to
> run in a Ms IIS Webserver (the code needs authenticate in the IIS
> using the NTLM authentication protocol).
> I found a code that will authenticate me but I have not success for
> this. I downloaded the .JAR and DOCs from the Jakarta homepage and if
> you try to compile the following example code (found in the link
> http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examp
> les/Al ternateAuthenticationExample.java), it returns na error because
> there is no libs, listed above, inside the .JAR:
>
> import org.apache.commons.httpclient.UsernamePasswordCredentials;
> import org.apache.commons.httpclient.auth.AuthPolicy;
>
> Please, where could I find it or please if somebody could help me?
>
> Thanks in advance,
>
> Marcelo Muzilli
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-httpclient-dev-help@jakarta.apache.org
--
_________________________________________________________________
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer [email] ortwin.glueck@nose.ch
hardturmstrasse 171 [pgp id] 0x81CF3416
8005 zürich [office] +41-1-277 57 35
switzerland [fax] +41-1-277 57 12
---------------------------------------------------------------------
To unsubscribe, e-mail:
commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail:
commons-httpclient-dev-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
Re: NTLM authenticity problem
Posted by Ortwin Glück <or...@nose.ch>.
Get HttpClient from here:
http://jakarta.apache.org/commons/httpclient/downloads.html
Make sure you put the jar file on your classpath.
Ortwin Glück
Marcelo Muzilli (IG) wrote:
> Howdy people,
> I´m a newbie in Servlet programming and I need to develop a code to
> run in a Ms IIS Webserver (the code needs authenticate in the IIS using the
> NTLM authentication protocol).
> I found a code that will authenticate me but I have not success for
> this. I downloaded the .JAR and DOCs from the Jakarta homepage and if you
> try to compile the following example code (found in the link
> http://cvs.apache.org/viewcvs.cgi/jakarta-commons/httpclient/src/examples/Al
> ternateAuthenticationExample.java), it returns na error because there is no
> libs, listed above, inside the .JAR:
>
> import org.apache.commons.httpclient.UsernamePasswordCredentials;
> import org.apache.commons.httpclient.auth.AuthPolicy;
>
> Please, where could I find it or please if somebody could help me?
>
> Thanks in advance,
>
> Marcelo Muzilli
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
--
_________________________________________________________________
NOSE applied intelligence ag
ortwin glück [www] http://www.nose.ch
software engineer [email] ortwin.glueck@nose.ch
hardturmstrasse 171 [pgp id] 0x81CF3416
8005 zürich [office] +41-1-277 57 35
switzerland [fax] +41-1-277 57 12
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org