Mike Cannon-Brookes wrote:
Hrm - no, this is thinking the wrong way mate :)

If webwork defined paths, security would work perfectly right?

So why not have webwork only 'work' if the path is correct (and defined)?

Ie /admin/foo.action would execute foo, but /bar/admin/foo.action would
execute nothing.
Then the action would be "pinned" to that particular path, and skinning wouldn't work.

That way you keep .action, AND your security works fine?
Here's another way: define the roles that are allowed to access an action in xwork.xml, and create an interceptor that checks it. Then it can work exactly like how web.xml works, except it can do so for the case where an unsecure action calls a secure action too.

/Rickard



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to