Actually - I'm not sure I agree.

Personally, I see the 'non path mapped' nature of WebWork actions as a flaw.
I haven't found one good use for them yet.

I would love to see something to stop actions from moving. I think the
configuration can be made very simple - it need not be as complex as Jason
listed here.

<action name="Foo1" alias="foo1" path="/secure/blah">
   <view name="success">foo.jsp</view>
   <view name="input">fooform.jsp</view>
</action>

Just an optional path element is all that's really needed - there could also
be a 'default path' attribute at the top of the file <actions> - that's not
really a lot of complexity for such a needed feature is it?

-mike

On 2/11/02 12:28 PM, "Maurice C. Parker" ([EMAIL PROTECTED])
penned the words:

> Guys,
> 
> Adding more junk to the Actions.xml is a sure way fire way to make
> using WebWork more difficult.  Do a comparison of our mapping file and
> Struts and you will see what I'm talking about.
> 
> Jason, we've been over this repeatedly.  People on the list have given
> you many helpful suggestions to solve your problem ranging from writing
> a security filter to clever web.xml configurations.  You have been
> given a solution, it's now up to you to implement it.
> 
> -Maurice
> 
> 
> On Friday, November 1, 2002, at 06:40 PM, Patrick Lightbody wrote:
> 
>> Jason,
>> I agree. I believe that configuration in WebWork is one area of
>> improvement
>> that should be addressed in the next version. I'll jot up some ideas
>> I've
>> had as well as yours. Maybe if we get a Wiki set up soon we can drop
>> stuff
>> there.
>> 
>> -Pat
>> 
>> ----- Original Message -----
>> From: "Jason Carreira" <[EMAIL PROTECTED]>
>> To: "Opensymphony-Webwork@Lists. Sourceforge. Net"
>> <[EMAIL PROTECTED]>
>> Sent: Friday, November 01, 2002 1:06 PM
>> Subject: [OS-webwork] Webwork Security Requirements
>> 
>> 
>>> 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
>> 
>> 
>> 
>> -------------------------------------------------------
>> 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
>> 
>> 
> 
> 
> 
> -------------------------------------------------------
> 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



-------------------------------------------------------
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