When using HTTPInvoker, how can one access the HttpServletRequest inside the service object ?
I need to access methods like getUserPrincipal() and isUserInRole("manager").
Printable View
When using HTTPInvoker, how can one access the HttpServletRequest inside the service object ?
I need to access methods like getUserPrincipal() and isUserInRole("manager").
org.springframework.web.context.request.ServletReq uestAttributes sra = (org.springframework.web.context.request.ServletRe questAttributes) org.springframework.web.context.request.RequestCon textHolder.getRequestAttributes();