|
#1
|
|||
|
|||
|
This thread discusses the "Understanding alwaysRedirectOnPause" tip published on the Ervacon Spring Web Flow Portal.
Read the tip at http://www.ervacon.com/products/swf/tips/tip4.html |
|
#2
|
||||
|
||||
|
This is a definite must read tip for all SWF users!
Keith
__________________
Keith Donald Spring Web Flow Project Lead |
|
#3
|
|||
|
|||
|
Thank's for this great article! One thing I'm missing a bit is how to handle security in a redirectOnPause world. I'm using REST-style URLs (by using the RequestPathFlowExecutorArgumentHandler as the argumentHandler for the FlowController) to be able to secure them in my acegi access configuration. When enabling redirectOnPause, SWF redirects to an URL which isn't specific to a certain flow anymore. Is there a way to handle that (without a special security interceptor)?
|
|
#4
|
|||
|
|||
|
Interesting question. One thing you can do is serve your flows requiring different security using a different flow controller (and a different path). You can have multiple flow controllers 'fronting' a single flow definition registry.
Erwin |
|
#5
|
|||
|
|||
|
Quote:
Is /k/ always prefix'ed, or what is /k/? Is the prefix configurable? Nobody would be able to guess guess the UUIDs, so I could probably give access to everyone below /k/ ? Best Oliver |
|
#6
|
|||
|
|||
|
The /k/ is just a delimiter used to mark the start of the flow execution key. Check the source code of the RequestPathFlowExecutorArgumentHandler for details. The 'k' is configurable using the keyDelimiter property.
Erwin |
|
#7
|
|||
|
|||
|
Quote:
Best Oliver |
|
#8
|
|||
|
|||
|
Just wanted to say thanks, because I was wanting to make the transition to using alwaysRedirectOnPause and this document was exactly what I needed. I would agree that this is required reading.
|
|
#9
|
|||
|
|||
|
Hi ,
Am using SWF 2.0.1 I have following configuration <webflow:flow-executor id="flowExecutor"> <webflow:flow-execution-attributes> <webflow:always-redirect-on-pause value="false"/> </webflow:flow-execution-attributes> </webflow:flow-executor> Now its not working But if I use <webflow:always-redirect-on-pause value="true"/> My transitions are working What could be the reason? Any help is greatly appreciated. Thanks In Advance, Sudheesh |
|
#10
|
|||
|
|||
|
Great post, that information really helped me out
.___________________________ My website - dedicated to information about African Grey Parrots and also other species of parrots. Last edited by Bopo; Jan 6th, 2009 at 07:27 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|