Hi Christian,

Even though, the Restlet API was not initially designed to develop true HTTP
proxies, it should be easy to extent it to support this use case. There is
an existing RFE that provides more information:

"Support HTTP proxies and gateways"
http://restlet.tigris.org/issues/show_bug.cgi?id=207

To get you started, I've just added support for parsing/formatting the proxy
authentication headers:
 - Added "proxyChallengeResponse" property to Request
 - Added "proxyChallengeRequests" to Response. 
 - Added support in the connectors HTTP parsing and formatting layers.

Now, the default Guard doesn't leverage (yet) those new properties. This
could be achieved by adding a "proxy" boolean property to Guard to indicate
in which mode it should operate. Would that work for you? 

Regarding SSL tunneling, we need to implement the CONNECT method, see
details here:
http://tools.ietf.org/id/draft-luotonen-ssl-tunneling-03.txt

This will require special handling in the Restlet engine. We need to think
more about it...
 
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com


-----Message d'origine-----
De : Christian Haintz [mailto:[email protected]] 
Envoyé : vendredi 27 février 2009 00:00
À : [email protected]
Objet : Developing Proxy Server with Restlet - Authentication and Encryption

Hi,

I am writing on a Proxy Server for a University Project with Restlet.

I want to use Proxy Authentication (the Username Password Fields which you
can use in the Browser Proxy Settings) because i want the connection from
Browser to Proxy (which should stay public) authenticated and encrypted.

First I wanna look at the Authentication:
How can i achieve this?

I tried the Guard Filter, but i am not sure which Authentication Protocol is
used for Proxy Connections.
Any ideas how to implement Proxy Authentication on the Restlet Server Side?

Second:
Is there a standard for - i don't know - SSL Tunneling from Browser to
Proxy?

Thanks,
Christian

--
Christian Haintz
Student of the Technical University Graz Software-Engineering and Business

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

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

Reply via email to