Maybe public methods and by package name?

<allowed-packages>mypackage.com</allowed-packages>
<allowed-methods>regex:(([A-Z]?)([a-z]+)?)</allowed-methods>

On 2 September 2015 at 08:09, Lukasz Lenart <lukaszlen...@apache.org> wrote:

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

Reply via email to