Hi
I'm facing an usecase I'm currently unable to solve with Stripes, being
unfamiliar with the RedirectResolution and/or FlashScope mechanisms.
I have a start page, http://start.x.com, which is seen thru an http proxy,
http://start.proxy.com (ie when you GET proxy.com, it will GET x.com).
My start page has a link to http://login.x.com, which is not seen thru the
above proxy, the user directly hits login.x.com when he GETs.
Both pages have an ActionBean binding, the one on the login page then stores
an User in the actionBeanContext.getRequest.getSession when a login is
successfull.
The problem I'm trying to solve : I'd like the user to be redirected to
http://start.proxy.com when the login is successfull, because this start
page can't be seen directly : it uses a special xml markup, which is
translated into html my the above proxy.
I've used a RedirectResolution("http://start.proxy.com") when the login is
successfull, unfortunately, my actionBeanContext/request/session is not
shared once the redirect hits, hence no User is found when the start page is
hit.
I've then tried to append a flash scope to the redirect (using
.flash(this)), I can see a __fsk request parameter being added,
unfortunately, I don't know how to access the scope once in my start page
action bean : as far as I understand, the flash scope seems to be bound to
the request, and the RedirectResolution triggers a new request.
Basically, I'd like to share a Session between my unproxified login page and
my proxified start page.
Does anyone know if this is even possible ?
Thanks for your help !
laurent
--
<a href="http://in-pocket.blogspot.com">http://in-pocket.blogspot.com -
Mobile world, technology and more</a>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users