Re: Custom WWW-Authentication

2010-06-24 Thread Bruno Harbulot
On 23/06/2010 17:42, webp...@tigris.org wrote: > Thanks the reply. > > My plan is first step client calls server by http GET, second step > server response in 401 with WWW-Authentication: PPPK realm="***", > nonce="***", opaque="***", keyid="***", version="***". In the end, > client will response b

RE: Custom WWW-Authentication

2010-06-23 Thread webpost
Thanks the reply. My plan is first step client calls server by http GET, second step server response in 401 with WWW-Authentication: PPPK realm="***", nonce="***", opaque="***", keyid="***", version="***". In the end, client will response back with Authorization: PPPK realm="***", keyid="***",

RE: Custom WWW-Authentication

2010-06-19 Thread Thierry Boileau
Hello, you need to develop another piece of code: a subclass of AuthenticationHelper. I've just added a document in the user guid, at this URL: http://wiki.restlet.org/docs_2.0/13-restlet/366-restlet.html Best regards, Thierry Boileau -- http:

Custom WWW-Authentication

2010-06-19 Thread webpost
Hello, Can I ask a newbie question: How to custom WWW-Authentication? for example, I hope the server response header could consist of: WWW-Authentication: PPPK realm=”u...@my.com” I did the following code, but WWW-Authentication didn't display u...@my.com, just a question