Jerome,

Thanks for the reply.  Unfortuanately, I already have 
org.restlet.ext.crypto.jar on my classpath.

Do you have any other ideas?

Thanks 
Rich


> Hi Rich,
> 
> You should add the org.restlet.ext.crypto.jar to your classpath.
> 
> Cheers,
> Jérôme
> 
> Le 23 nov. 2009, 7:20 PM, <[email protected]> a écrit :
> 
> I just migrated our client and server from 2.0m3 to 2.0M6. All of the
> changes were fairly easy to figure out except those related to adding
>  ChallengeResponse for HTTP_DIGEST authentication. Our code was based upon
> the example in the user guide (which is still the example in today's
> version.
> 
> We would build a form with the username, ri, nonce, realm, domain, algorithm
> and QOP from the result, and then calculate and add the d5 digest. The we
> call request.setCredentialComponents(form).
> 
> Since setCredentialComponents() is gone, I tried to find an alternative
> example and was not able to find one, I tried calling the individual setters
> for each of the prpoerties that had been placed into the form, and then call
> Request.setChallengeResponse(). This compiles fine, but I get the following
> warning and the a 401 response.
> 
> Nov 23, 2009 10:36:49 AM org.restlet.engine.security.AuthenticatorUtils
> formatResponse
> WARNING: Challenge scheme HTTP_DIGEST not supported by the Restlet engine.
> Nov 23, 2009 10:36:49 AM org.restlet.engine.security.AuthenticatorUtils
> parseMessage
> WARNING: Couldn't find any helper support the HTTP_Digest challenge scheme.
> 
> Is there a current example I should be looking at? If not, can you point me
> in the right direction.
> 
> Thanks for your help
> Rich
> 
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2423509

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2423548

Reply via email to