You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Richard Becke <ri...@disputable.org> on 2003/04/24 09:31:51 UTC
NTLM authentication
I am using HTTPClient 2.0 alpha 3 on AIX 4.3.3
/ IBM JDK 1.3.1 with IBM JCE / JSSE.
Has anyone actually made NTLM authentication work ? I can't figure it out.
Using Luigi Dragone's NTLM auth API
(http://www.luigidragone.com/networking/ntlm.html), everything works fine,
so I know that the credentials and cryptographic providers are OK.
The documentation for NTCredentials, as well as the example / test code
seems a bit lacking. Is the "userName" constructor argument supposed to be
"<NT domain>\<userid>" or just userid ? And the "host" argument; is this
the DNS name, WINS name, and with / without the domain part ?
Sorry for the cross posting, I know this belongs in the user list, but I
feel the lacking documentation is also a bug.
--
/* ®ß */
Re: NTLM authentication
Posted by Michael Becke <be...@u.washington.edu>.
Richard,
There is documentation regarding NTLM on the HttpClient site at:
http://jakarta.apache.org/commons/httpclient/authentication.html
There are a couple of known issues with NTLM in alpha-3. Please upgrade
to the latest nightly build and try again.
Mike
Richard Becke wrote:
> I am using HTTPClient 2.0 alpha 3 on AIX 4.3.3
> / IBM JDK 1.3.1 with IBM JCE / JSSE.
>
> Has anyone actually made NTLM authentication work ? I can't figure it out.
> Using Luigi Dragone's NTLM auth API
> (http://www.luigidragone.com/networking/ntlm.html), everything works fine,
> so I know that the credentials and cryptographic providers are OK.
> The documentation for NTCredentials, as well as the example / test code
> seems a bit lacking. Is the "userName" constructor argument supposed to be
> "<NT domain>\<userid>" or just userid ? And the "host" argument; is this
> the DNS name, WINS name, and with / without the domain part ?
>
> Sorry for the cross posting, I know this belongs in the user list, but I
> feel the lacking documentation is also a bug.
NTLM authentication error
Posted by Richard Becke <ri...@disputable.org>.
I apologize for this double-posting, but I realized some crucial information
was missing from the original post.
I am using HTTPClient 2.0 alpha 3 on AIX 4.3.3
/ IBM JDK 1.3.1 with IBM JCE / JSSE.
Has anyone actually made NTLM authentication work ? I get the following
message :
[INFO] HttpMethod - -Already tried to authenticate to
"<hostname>:<port>#null" but still receiving 401.
Using Luigi Dragone's NTLM auth API
(http://www.luigidragone.com/networking/ntlm.html), everything works
fine, so I know that the credentials and cryptographic providers are OK.
The documentation for NTCredentials, as well as the example / test code
seems a bit lacking. The four-argument constructor :
- is the "userName" argument supposed to be "<NT domain>\<userid>" or just
userid ?
- the "host" argument; is this the DNS name, WINS name, and with or
without the domain part ?
Sorry for the cross posting, I know this belongs in the user list, but I
feel the lacking documentation is also a bug.
NTLM authentication error
Posted by Richard Becke <ri...@disputable.org>.
I apologize for this double-posting, but I realized some crucial information
was missing from the original post.
I am using HTTPClient 2.0 alpha 3 on AIX 4.3.3
/ IBM JDK 1.3.1 with IBM JCE / JSSE.
Has anyone actually made NTLM authentication work ? I get the following
message :
[INFO] HttpMethod - -Already tried to authenticate to
"<hostname>:<port>#null" but still receiving 401.
Using Luigi Dragone's NTLM auth API
(http://www.luigidragone.com/networking/ntlm.html), everything works
fine, so I know that the credentials and cryptographic providers are OK.
The documentation for NTCredentials, as well as the example / test code
seems a bit lacking. The four-argument constructor :
- is the "userName" argument supposed to be "<NT domain>\<userid>" or just
userid ?
- the "host" argument; is this the DNS name, WINS name, and with or
without the domain part ?
Sorry for the cross posting, I know this belongs in the user list, but I
feel the lacking documentation is also a bug.