Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3735

allowed-methods should also work for wildcard method invocation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 2.3.1.1
    • 2.3.3
    • None
    • None

    Description

      The possibility to limit the allowed action methods with <allowed-methods> should also be available for wildcard method invocation and not only for dynamic method invocation.

      Something like this should be possible:

      <action name="*Crud" class="example.Crud" method="

      {1}

      ">
      <allowed-methods>Method1,Method2,Method3</allowed-methods>

      See also: http://markmail.org/message/wzzx3v5jpycbxnnl?q=list:org%2Eapache%2Estruts%2Edev/

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andilist Andreas Sachs
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: