Hi Phil, I am not sure how to configure the Jetty transport to use authentication, but if you use the servlet transport it is a matter of configuring your servlet container. I would recommend that you look at your servlet container's documentation for guidance on how to do this. For example: http://docs.codehaus.org/display/JETTY/Realms
Regards, - Dan On 3/9/07, Phil Wilson <[EMAIL PROTECTED]> wrote:
Hi, I've been writing a REST-basd service based on the cxf-rest sample, and it all works just fine. I want to start authenticating this service and for my needs the best way seems to be by using HTTP Digest (which then authenticates against an LDAP realm). I'm guessing the best way, since Jetty already appears to be in use, to do this is to embed my services inside a servlet and rely on the container's native Digest and realm support, but I don't see how to do it. I've looked at the CXFServlet code and samples and don't immediately see how these could be configured for my needs. Am I going about this the right way? If so, what should I be doing to get things running how I want? Any help welcomed, Phil Wilson
-- Dan Diephouse Envoi Solutions http://envoisolutions.com | http://netzooid.com/blog
