Answering my question,
I've done this, though I still think there's a better way to do it:
Im my custom Guard class, I've override authenticate to the following.
@Override
public int authenticate(Request request) {
String path = request.getResourceRef().getPath();
if (path.endsWith("/")) path = path.substring(0,
path.length()-1);
path = path.substring(path.lastIndexOf('/'));
if (path.equals(IYWaveConstants.REGISTRATION_URL)) return 1;
return super.authenticate(request);
}
--
View this message in context:
http://n2.nabble.com/Excluding-a-resource-from-Guard-tp4433527p4467649.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2442442