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 <arashbi@gmail.com> 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org
|