I have a current issue where I need to handle security and sessions for a an implementation that uses RequestFactory and an XmlRPC servlet. I am using the XmlRPC for communication from an android device and RequestFactory for the web interface. The problem I have is that I am using the back end entity objects per the RequestFactory examples and I can access the sesion from RequestFactoryServlet.getThreadLocalRequest() but this will not work for XmlRPC implementation. I have extended the XmlRPC servlet and added the getThreadLocalRequest methods. All this works but in my SecurityFactory.getSecurity(HasRequestResponse servletImpl) I want to have a way to get the current running servlet so that I can pass that to my SecurityImpl implementation constructor. The problem is that in my RequestFactory entitiy implementations I can't find a way to get the current running servlet. I have looked at the AppEngineWebAppContext to get the current context but I cannot figure out a way to get the current servlet implementation that I am running in in order to get the HttpRequest object. Any ideas on how to implement something like this?? I am confined to the limits of RequestFactory such as the no arg constructor so I am stuck on how to get a reference to the HttpRequest object.
Thanks -Chris -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
