Hi Arash,

HttpClient implements digest authentication.

<http://svn.apache.org/viewcvs.cgi/jakarta/commons/proper/httpclient/trunk/src/java/org/apache/commons/httpclient/auth/DigestScheme.java?rev=155418&view=markup>

Mike


On Thu, 3 Mar 2005 14:51:44 +0330, Arash Bijanzadeh <[EMAIL PROTECTED]> wrote:
> Hi all,
> I am trying to implement the Digest MD5 authentication according to
> RFC 2617 without siccess.
> Here is my code:
>  byte[] 
> A1=org.apache.commons.codec.digest.DigestUtils.md5(username+":"+realm+":"+password);
>         byte[] A2=org.apache.commons.codec.digest.DigestUtils.md5("GET"
> +":"+uri);
>         byte[] 
> A3=org.apache.commons.codec.digest.DigestUtils.md5(A1+":"+nonce+":"+nc+":"+cnonce+":"+qop+":"+
> A2);
> 
> But the A# is not equal to clientDigest. Could any body help me? Is
> there any implementation of this RFC in java?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to