Without digging into code, I have no clue. So either I can read the source (of how its done in RealmBase) or your can. (And right now, I'm feeling lazy ;) )

I'm guessing org.apache.catalina.util.HexUtils would be what you want.

-Tim

Maxime Colas des Francs wrote:

Thks for your response !


But I have now another pb .

javadoc for org.apache.catalina.realm.RealmBase.Digest() says :
... Digest password using the algorithm especificied and convert the result to a corresponding hex string ...


So how to convert my base64(MD5()) digest to the correct hex String ?
I try Integer.toHexString on each byte ... no good.

MD5 digest for realm auth don't seem to be a simple MD5 digest ..

At 06:42 2003-08-07 -0400, you wrote:

My favorite Base64 library is org.apache.catalina.util.Base64 ;)

-Tim



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



Reply via email to