I'm hoping that at the beginning of next year we'll be able to replace
the web framework we're using (a proprietary one built by the
consultants we brought in to get us kick-started) with Webwork.

One of the drop dead requirements is going to be easy integration with
J2EE declarative security. We need to be able to secure paths using
deployment descriptors. Right now this is impossible in webwork because
of the way paths are used: not as paths for finding actions, but as
paths for finding JSPs. You can run an action from any path, if you know
its name. 

I'm not sure of the best way to handle this in Webwork, but I would
think this is a common requirement for J2EE apps, and most users won't
want to have to write a security framework like Atlassian did for Jira.
One possible solution would be to be able to break the config files up
into multiple configuration files (good for multi-developer concurrent
development anyway) and be able to assign each of these config files a
path that they configure the app for.

So you have

Actions.xml:
<actions>
   <actionset name="foo" path="/foo" configfile="foo.xml"/>
 
   <actionset name="Default" path="/" packages="webwork.test">
     <action name="FormTest" alias="formtest">
        <view name="success">redirect.action?url=jdom.action</view>
        <view name="input">formtest.jsp</view>
     </action>

     <action name="jdom.JDOMTest" alias="jdom">
        <view name="success">jdom.jsp</view>
     </action>
   </actionset>
</actions>

Foo.xml:
<action name="Foo1" alias="foo1">
  <view name="success">foo.jsp</view>
  <view name="input">fooform.jsp</view>
</action>
<action name="Foo2" alias="foo2">
  <view name="success">foo.jsp</view>
  <view name="input">fooform.jsp</view>
</action>

Or something. 

Any other thoughts on how this could be done? I think this is VERY
important for (Web|X)work....

Jason Carreira

--
Jason Carreira
Technical Architect, Notiva Corp.
phone:  585.240.2793
  fax:  585.272.8118
email:  [EMAIL PROTECTED]
---
Notiva - optimizing trade relationships (tm)
 


-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to