Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-7302

OAuth2 authentication module fails on WildFly 9.0.2

    Details

    • Sprint:
      AM Sustaining Sprint 14

      Description

      Reproduction steps:

      Once the OAuthProxy.jsp page proxies the response to the XUI using POST method against /openam URI, WildFly throws the following error:

      HTTP method POST is not supported by this URL
      

      This is because the default servlet implementation (used by static resources such as /openam/index.html) does not implement doPost, and eventually the HttpServlet implementation throws an HTTP 405 Method Not Allowed error response because of that.
      It appears that other containers like Tomcat and JBoss AS7/EAP6 are falling back to doGet() in such scenarios, hence it may appear to work with other containers.

      Whilst WildFly is not a supported container, I believe that this current behavior is incorrect and OAuthProxy.jsp shouldn't use POST method against a static flie.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                peter.major Peter Major [X] (Inactive)
                Reporter:
                peter.major Peter Major [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h
                  4h