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

allowed-methods should also work for wildcard method invocation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3.1.1
    • Fix Version/s: 2.3.3
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: