Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-3486

The DefaultConfiguration implementation does not always check all configuration options

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.2.9.Final, 7.0.0.Alpha1
    • None
    • Core
    • None

      The org.jboss.resteasy.spi.config.DefaultConfiguration only checks the ResteasyConfiguration.getInitParameter() method for settings skipping the ResteasyConfiguration.getParameter(). This was likely done because in some case it causes a stack overflow due to recursion. However, this can be mitigated and should be.

      One part of this is changing the org.jboss.resteasy.plugins.server.servlet.ServletBootstrap to override the getParameter(String) method so the ServletContext.getInitParameter() can be invoked. These names are returned in the ResteasyConfiguration.getParameterNames() so the values should be resolvable.

      Next the org.jboss.resteasy.spi.config.DefaultConfiguration needs to be updated to check for recursion.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: