> I need to allow unauthenticated GETs, so I still need to figure out how
> to authenticate in some cases and not others
In a custom Authenticator, you can override a method (beforeHandle for example,
just choose one where you think it makes the most sense), and check on the
method of the request. If it is GET, continue.
@Override
protected int beforeHandle(Request request, Response response) {
if (Method.GET.equals(request.getMethod())) {
response.setStatus(Status.SUCCESS_OK);
return CONTINUE;
}
...
}
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=3060262