Hi all, I agree with Bruno.
If I use the optional parameter in true, how determine whether a client is
authenticated or not in a resource?
This line with optional parameter is always true, even if the request has no
authentication.
request.getClientInfo().isAuthenticated()
best regards.
Esteban
--
View this message in context:
http://restlet-discuss.1400322.n2.nabble.com/Optional-authentication-and-ClientInfo-getAuthenticated-tp5381324p5467396.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2651854