PeteGashek / puzzlebazar

Automatically exported from code.google.com/p/puzzlebazar
0 stars 0 forks source link

Implements action-specific dispatch paths #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From:
http://turbomanage.wordpress.com/2010/03/19/adding-info-to-dispatch-url-for-
logs/

It looks like every action can have a different dispatch path. This sounds 
useful for log and maybe for security (could have a secure dispatcher on some 
paths?).

Original issue reported on code.google.com by philippe.beaudoin on 19 Mar 2010 at 6:53

GoogleCodeExporter commented 9 years ago
Yes you can have ! That way you only secure some actions.

But it's even more usefull using security context in web.xml !

Original comment by goudreau...@gmail.com on 22 Mar 2010 at 11:37

GoogleCodeExporter commented 9 years ago
Sounds cool! I'm not really comfortable with servlet configuration. Can you 
point me to 
any source where I could learn more about web.xml?

Original comment by philippe.beaudoin on 22 Mar 2010 at 3:20

GoogleCodeExporter commented 9 years ago

Original comment by philippe.beaudoin on 23 Mar 2010 at 5:30

GoogleCodeExporter commented 9 years ago
Unfortunately, no. It's seem to be well documented as a Tomcat feature. I don't 
think I'll 
use that kind of configuration anyway, I'm satisfied with the SecureDispatch 
feature of 
platform.

Maybe in the future... Anyway it's easy to implement into Dispatch and doesn't 
cost 
anything but a small renaming ex : 
serve(/project/dispatch)..to(projectServlet.class) for 
serve(/project/dispatch/*).to(projectServlet.class)

Original comment by goudreau...@gmail.com on 23 Mar 2010 at 5:49

GoogleCodeExporter commented 9 years ago
Moved to GWTP:
http://code.google.com/p/gwt-platform/issues/detail?id=4

Original comment by philippe.beaudoin on 27 Mar 2010 at 5:56