In my apps I would not need to use any patterns. Just a list of methods, 
different for each action, would be enough for me.


What do you think about a config switch to enable/disable patterns for 
strict-dmi-method-names ?



Reagards,
Christoph




> From: Lukasz Lenart <lukaszlen...@apache.org>
> To: Struts Developers List <dev@struts.apache.org>, 
> Date: 02.09.2015 09:08
> Subject: Re: [GitHub] struts pull request: WW-4540: Strict DMI
> 
> 2015-09-01 12:41 GMT+02:00 Greg Huber <gregh3...@gmail.com>:
> > The same way interceptors are configured, something like:
> >
> > <param name="includeMethods">publish*</param>
> >
> > public String publish() {..}
> > public String publishNow() {..}
> 
> but maybe instead of such simple definition it'd be better to allow
> specify very strict regex, ie:
> 
> <allowed-methods>regex:publish(([A-Z]?)([a-z]+)?)</allowed-methods>
> 
> wdyt?
> 
> 
> Regards
> -- 
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
> 

This Email was scanned by Sophos Anti Virus

Reply via email to