commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arash Bijanzadeh <aras...@gmail.com>
Subject RFC 2617 / Digest Access Authentication
Date Thu, 03 Mar 2005 11:21:44 GMT
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


Mime
View raw message