You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Scott Stanlick (JIRA)" <ji...@apache.org> on 2007/10/18 17:36:39 UTC

[jira] Created: (WW-2265) Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists

Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists
--------------------------------------------------------------------------------------------

                 Key: WW-2265
                 URL: https://issues.apache.org/struts/browse/WW-2265
             Project: Struts 2
          Issue Type: Improvement
          Components: Interceptors
    Affects Versions: 2.0.9
            Reporter: Scott Stanlick


I would like to propose a change to the MethodFilterInterceptorUtil class to allow support for wildcard method names on include/exclude list configurations.  The applyMethod behavior only supports specifically named methods or the "*" itself to indicate all/none.  In the spirit of design by convention, I am trying to develop an application that leverages symbolically constructed names and support for method names such as add* or remove* would provide benefits at the moment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WW-2265) Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher resolved WW-2265.
---------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 2.1.4)
                   Future

Although there are no Struts 2 commits for this, there is a JIRA at xwork and patch that when applied will resolve this issue - 
http://jira.opensymphony.com/browse/XW-609

> Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists
> --------------------------------------------------------------------------------------------
>
>                 Key: WW-2265
>                 URL: https://issues.apache.org/struts/browse/WW-2265
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.0.9
>            Reporter: Scott Stanlick
>            Assignee: Wes Wannemacher
>             Fix For: Future
>
>
> I would like to propose a change to the MethodFilterInterceptorUtil class to allow support for wildcard method names on include/exclude list configurations.  The applyMethod behavior only supports specifically named methods or the "*" itself to indicate all/none.  In the spirit of design by convention, I am trying to develop an application that leverages symbolically constructed names and support for method names such as add* or remove* would provide benefits at the moment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (WW-2265) Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wes Wannemacher reassigned WW-2265:
-----------------------------------

    Assignee: Wes Wannemacher

> Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists
> --------------------------------------------------------------------------------------------
>
>                 Key: WW-2265
>                 URL: https://issues.apache.org/struts/browse/WW-2265
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.0.9
>            Reporter: Scott Stanlick
>            Assignee: Wes Wannemacher
>             Fix For: 2.1.4
>
>
> I would like to propose a change to the MethodFilterInterceptorUtil class to allow support for wildcard method names on include/exclude list configurations.  The applyMethod behavior only supports specifically named methods or the "*" itself to indicate all/none.  In the spirit of design by convention, I am trying to develop an application that leverages symbolically constructed names and support for method names such as add* or remove* would provide benefits at the moment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (WW-2265) Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists

Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rainer Hermanns updated WW-2265:
--------------------------------

    Fix Version/s:     (was: Future)
                   2.1.1
           Status: Resolved  (was: Closed)

> Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists
> --------------------------------------------------------------------------------------------
>
>                 Key: WW-2265
>                 URL: https://issues.apache.org/struts/browse/WW-2265
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.0.9
>            Reporter: Scott Stanlick
>            Assignee: Wes Wannemacher
>             Fix For: 2.1.1
>
>
> I would like to propose a change to the MethodFilterInterceptorUtil class to allow support for wildcard method names on include/exclude list configurations.  The applyMethod behavior only supports specifically named methods or the "*" itself to indicate all/none.  In the spirit of design by convention, I am trying to develop an application that leverages symbolically constructed names and support for method names such as add* or remove* would provide benefits at the moment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (WW-2265) Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists

Posted by "Rainer Hermanns (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rainer Hermanns closed WW-2265.
-------------------------------


Thanks for the patch. Patch is commited to xwork for upcoming the 2.1.1 release

> Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists
> --------------------------------------------------------------------------------------------
>
>                 Key: WW-2265
>                 URL: https://issues.apache.org/struts/browse/WW-2265
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.0.9
>            Reporter: Scott Stanlick
>            Assignee: Wes Wannemacher
>             Fix For: Future
>
>
> I would like to propose a change to the MethodFilterInterceptorUtil class to allow support for wildcard method names on include/exclude list configurations.  The applyMethod behavior only supports specifically named methods or the "*" itself to indicate all/none.  In the spirit of design by convention, I am trying to develop an application that leverages symbolically constructed names and support for method names such as add* or remove* would provide benefits at the moment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (WW-2265) Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists

Posted by "Wes Wannemacher (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-2265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43355#action_43355 ] 

Wes Wannemacher commented on WW-2265:
-------------------------------------

I started work on this one, it seems fairly straightforward to fix. Although, the patch will have to apply against XWork, so I'll create an XWork issue with a patch when completed (since I don't have write access on XWork).

> Modify MethodFilterInterceptor to support wildcard method names in the include/exclude lists
> --------------------------------------------------------------------------------------------
>
>                 Key: WW-2265
>                 URL: https://issues.apache.org/struts/browse/WW-2265
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>    Affects Versions: 2.0.9
>            Reporter: Scott Stanlick
>            Assignee: Wes Wannemacher
>             Fix For: 2.1.4
>
>
> I would like to propose a change to the MethodFilterInterceptorUtil class to allow support for wildcard method names on include/exclude list configurations.  The applyMethod behavior only supports specifically named methods or the "*" itself to indicate all/none.  In the spirit of design by convention, I am trying to develop an application that leverages symbolically constructed names and support for method names such as add* or remove* would provide benefits at the moment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.