Hello,

This is a rather simple question about authentication from the server-side
point of view.  It's been awhile since I've used Restlet, so it may be
something that would have been obvious before.

I've been reading through some info about it at
http://wiki.restlet.org/docs_2.1/13-restlet/27-restlet/46-restlet/112-restlet.html.
 For now, I'm just looking at basic HTTP auth.

Seemed simple enough.  I copied the code snippets and through it into a
test app.  Outside of what's on that web page, I created a Server object
and passed in the Restlet object.  One thing  noticed was that Restlet
doesn't have a getDefaultHost() method, so instead of creating a Restlet
object, I created a Component object.  It derives from Restlet, so I didn't
think there would be an issue.  Everything else is exactly the same.

I fired up my test app and used FireFox as my "client".  I get the hello
world response, but I'm not required to authenticate.

What could I be missing?  It seems simple, but it's not working for me.
 *scratches head*

Thanks,
Andrew

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

Reply via email to