• Andy Wilkinson's avatar
    Update configuration of Jolokia’s AgentServlet to support CORS · 57a51ed2
    Andy Wilkinson authored
    Spring Framework 4.2 introduces improved support for CORS. Notably this
    means that a DispatcherServlet will now process an OPTIONS request if
    it contains an Origin header, without having to enable OPTIONS request
    dispatching for every endpoint.
    
    This commit takes advantage of these changes in Spring Framework 4.2 by
    configuring the controller that wraps Jolokia’s AgentServlet to handle
    OPTIONS requests. This allows Jolokia’s CORS support to be configured
    using Jolokia’s standard configuration, as described in section 4.1.5
    of the Jolokia documentation [1].
    
    Closes gh-1987
    
    [1] https://jolokia.org/reference/html/security.html
    57a51ed2
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...