Hello Esteban,

you can check request.getClientInfo().isAuthenticated

Best regards,
Thierry Boileau

>

For now, I am checking if it is authenticated or not to my application with
> this line of code.
>
>            if (request.getClientInfo().getUser() == null) {
>               // Not authenticated
>               .....
>            }
>
> This is correct?
> Best regards.
> Esteban
> --
> View this message in context:
> http://restlet-discuss.1400322.n2.nabble.com/Optional-authentication-and-ClientInfo-getAuthenticated-tp5381324p5469730.html
> Sent from the Restlet Discuss mailing list archive at Nabble.com.
>
> ------------------------------------------------------
>
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2652100
>

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

Reply via email to