title: How do I get a HttpServletRequest in my spring beans?
body: <p>I'm developing an app with a Flex-based front end and a Spring/Hibernate back-end.</p>
  
  <p>To get Facebook integration working in the way I've got it currently, I need to read the cookies set in javascript on the front end on the back-end and do some validation during login to see whether the user is attempting to spoof his Facebook login.</p>
  
  <p>This would be pretty easy, but I can't figure out how to get the HttpServletRequest. I'm using a pretty basic Spring config (this is my first real Spring app, and I'm pretty familiar with it now, but there's lots to it I've never looked at.)</p>
  
  <p>I'm not using Spring MVC or Spring WebFlow or anything like that. I can get the ServletContext, but I haven't yet figured out how to get the request.</p>
  
  <p>Any help?</p>