You're trying to accomplish a protected action, please identify yourself to continue.
If you don't have an account you will be able to request one on the login page.
How do I get current user from a restlet?
I don't want to use Seam for my restlet.
Know somebody who can help? Invite them to answer.
you can get the principal from the HttpServletRequest object using HttpServletRequest#getUserPrincipal() .
Note that Restlet is not what Nuxeo recommends for REST APIs. We prefer Content Automation or JAX-RS/WebEngine.