Hello,

here is the url of the user guide regarding BASIC and DIGEST authentication: 
http://wiki.restlet.org/docs_1.1/13-restlet/112-restlet.html
You will find a sample code and some explanations.

Regarding your needs, this implementation does not handle the opaque parameter, 
and generates a nonce value according to the "secretKey" of the Guard (and 
authenticate the request according to the secretkey). All this code is located 
in the class com.noelios.restlet.authentication.HttpDigestHelper. You can 
override it, and register your own helper to the engine:
 - add a service file called "com.noelios.restlet.AuthenticationHelper" and 
located in the "src/META-INF/services" directory. It contains asingle line of 
text which is the full path of your helper.

Feel free to ask for more details.

Best regards,
Thierry Boileau

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

Reply via email to