Re: Using the HttpSession object with openamf
Oliver Lietz <[email protected]>
| Newsgroups | gmane.comp.java.openamf.user |
|---|---|
| Message-ID | <[email protected]> |
Am Sonntag, 28. August 2005 14:18 schrieb Bruce Raggett: > Hello All, > > I am developing a small Flash application and am having trouble trying to > determine how to use the HttpSession object with openamf. > > On the first call to the server I want to create an HttpSession object and > store user data from the application's database in the HttpSession object. > > Then in subsequent calls to the server I want to check that the HttpSession > object is still valid and retrieve the data I cached in the HttpSession > object on my first call to the server. > > However I am unable to determine how to do this, as I cannot find any > method that I can call from a plain Java object that will return me the > HttpSession object. > > Any help will be appreciated. Hello Bruce, look at "Acegi Security System for Spring" [1] chapter "1.4. Request Contexts" and the HttpSessionContextIntegrationFilter. I'm using Spring with Acegi successfully in my own application for authentication and authorization. You have to build the latest version 0.9.0 from source (CVS). good luck, Oliver [1] http://acegisecurity.sourceforge.net/ ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf