Is there a way to get javax.servlet.http.HttpServletRequest.getRemoteUser() 
when using org.restlet.ext.servlet ?

Spring allows one to get to it this way:

org.springframework.web.context.request.ServletRequestAttributes sra = 
(org.springframework.web.context.request.ServletRequestAttributes) 
org.springframework.web.context.request.RequestContextHolder.getRequestAttributes();

javax.servlet.http.HttpServletRequest request = sra.getRequest();
request.getRemoteUser()

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

Reply via email to