Commit Graph

1841 Commits (f659a2e253ee3369c8a92b6d90e01be4009afdd3)
 

Author SHA1 Message Date
Dave Syer f659a2e253 Use the ServerProperties to add prefixes to paths
when server.servletPath is set we need to add prefixes to
the security filter paths, and the /error path.

Conflicts:
	spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/ManagementSecurityAutoConfiguration.java
11 years ago
Andy Wilkinson 362df05f65 Upgrade to Tomcat 7.0.54
Closes #960
11 years ago
Phillip Webb 6e82e8ede8 Fix Tomcat 8 warnings and Jasper initialization
Fix MalformedURLException warnings caused by Tomcat 8 adding additional
URLs to the TomcatEmbeddedWebappClassLoader.

Add JasperInitializerLifecycleListener to call Tomcat 8's
JasperInitializer which is now required for JSP rendering.

Fixes gh-919
11 years ago
Andy Wilkinson 7d6438ad9b Upgrade to Aether 0.9.1 11 years ago
Henryk Konsek 42be7abacc Fix typo in Javadoc
Fixes gh-938
11 years ago
Andy Wilkinson 8fa2286dd3 Upgrade to Spring Security 3.2.4.RELEASE 11 years ago
Andy Wilkinson 426c5680d4 Use Boot’s base Logback configuration in the Integration sample
Fixes #922
11 years ago
Andy Wilkinson 6dafa15eef Remove mouldy start.groovy from the actuator sample
Fixes #900
11 years ago
Andy Wilkinson b9c80433bc Upgrade to Spring 4.0.5
Closes #891
11 years ago
Phillip Webb 6a644e2e23 Protect against malformed URLs on Windows
Update JarFile to correctly create system independent URLs to prevent
potential URISyntaxExceptions when running on Windows.

Fixes gh-836
11 years ago
Dave Syer 845a86d548 Monkey with JarUrlConnection to make it work when LANG unset
The problem all along has been in AsciiBytes, so the fix in
commit ce3aaf was just a stop gap for a system where multi-byte
characters are supported but the default encoding is not UTF-8 (e.g.
most Windows systems). The real solution is not to leave it to
chance and always pick an encoding for the JarEntry names (i.e.
in AsciiBytes).

(Cherry picked from commit 06e364a9ff)

Fixes gh-764
11 years ago
Christian Dupuis cf2b2df2c8 Correctly decode URL coming into the Jolokia endpoint
fixes #869
11 years ago
Christian Dupuis f65af2d502 Update CRaSH dependency to 1.3.0-beta20
fixes #849
11 years ago
Phillip Webb fa7da5925b Remove checked exceptions from @PostConstructs
Update all @PostConstruct methods to ensure that they don't throw
checked exceptions. Required to allow deployment of Spring Boot
applications on Glassfish.

Fixes gh-868
11 years ago
Phillip Webb 08a6efff46 Update Thymeleaf dependencies
- thymeleaf-layout-dialect 1.2.4
- thymeleaf 2.1.3

Fixes gh-866
11 years ago
Phillip Webb f8c1213f0a Add baseDir to git-commit-id-plugin
Fixed gh-873
11 years ago
Phillip Webb e018f2af25 Add FilterRegistrationBean.setDispatcherTypes(...)
Add setDispatcherTypes method to FilterRegistrationBean.

Fixes gh-871
11 years ago
Andy Wilkinson f761daf253 Upgrade to CRaSH 1.3.0-beta18
Closes #841
11 years ago
Phillip Webb 8eca40a388 Add explicit hamcrest-core dependency
Add an explicit dependency to `hamcrest-core` in the
`spring-boot-starter-test` POM. This prevents version 1.1 from
accidentally being pulled in via junit.

Fixes gh-810
11 years ago
Artem Bilan 471e6af2af Make `loader` Windows compatible
The encoding of UTF-8 (et al.) chars in the
JarUrlConnection has to be made explicit, otherwise
Wdinows apparently does not pick the default(?).

Fixes gh-711, Fixes gh-753
11 years ago
Dave Syer f81c01d490 @WebApplication->@WebAppConfiguration
Fixed gh-746
11 years ago
Phillip Webb 33499e3d81 Merge pull request #728 from snicoll/dep-mgt
* dep-mgt:
  Add spring-boot-autoconfigure to starter parent
11 years ago
Stephane Nicoll 0b5600a99e Add spring-boot-autoconfigure to starter parent
Fixes gh-728
11 years ago
Phillip Webb 275cf6e6d2 Fixup starter parent following release 11 years ago
Phillip Webb 20510aef20 Fixup starter parent following release 11 years ago
Dave Syer 8f640c549f Correct copy-paste error in log4j config snippet 11 years ago
Spring Buildmaster d3954a1703 Next development version 11 years ago
Phillip Webb c714359b25 Upgrade dependencies
Upgrade third party dependencies (when appropriate) to the latest
maintenance releases.
11 years ago
Phillip Webb 6268322c76 Tighten up documentation on SSL and HTTPS
Fixes gh-640
11 years ago
Phillip Webb 59496abf85 Add mvnDebug how-to
Fixes gh-713
11 years ago
Phillip Webb 51c403b636 Document how to customize dependency versions
Add a section to the "how-to" on customizing third-party dependency
versions when using Maven.

Fixes gh-434
11 years ago
Phillip Webb b5b2fd2377 Add note explaining gradle ResolutionStrategy
Update reference documentation to include a note explaining that
"blessed" versions a chosen based on the gradle plugin version, and
that builds are repeatable.

Fixes gh-619
11 years ago
Phillip Webb 63aa5457b0 Merge pull request #718 from scottfrederick/master
* pull718:
  Update Cloud Foundry deployment documentation
11 years ago
Scott Frederick 08a0c31105 Update Cloud Foundry deployment documentation
Update the Cloud Foundry section of the reference documentation to:

- Reflect the fact that the Cloud Foundry v6 CLI no longer has an
  interactive mode for application push.
- Update some of the CLI output.
- Change links to point to open-source CF docs instead of Pivotal
  commercial docs.
- Add a few links.

Fixes gh-718
11 years ago
Phillip Webb d87f452a96 Upgrade Spring Batch dependency to 2.2.6
Fixes gh-720
11 years ago
Phillip Webb 51b0451ada Fix broken test due to random port change 11 years ago
Phillip Webb 4119ef5cf4 Use random ports for tests
Update remaining tests to use random ports.

Fixes gh-337
11 years ago
Stephane Nicoll af33cc2b97 Use random port in spring-boot tests
Update several tests to use random ports instead of hard coding '8080'
or '8081'.

fixes gh-607
11 years ago
Phillip Webb fca7a8dc96 Enforce Java 1.7 during the release
Add enforcer rules to ensure that only Java 1.7 is used during the
release.

Fixes gh-712
11 years ago
Phillip Webb f847ed2b1f Remove getEmbeddedServletContainers()
Remove the mutable getEmbeddedServletContainers() Map from
EmbeddedWebApplicationContext and instead use the `namespace` to
distinguish the management container.

The ServerPortInfoApplicationContextInitializer class replaces the
previous TestExecutionListener to exposes port properties (by
listening for EmbeddedServletContainerInitializedEvents).
11 years ago
Phillip Webb fad5ce45db Polish 11 years ago
Phillip Webb 316cb87583 Create ApplicationPid and remove SystemUtils
Create a new ApplicationPid class to remove the need for SystemUtils
and refactor existing calls.
11 years ago
Dave Syer b291332cd4 Use CountDownLatch instead of Thread.sleep()
... to wait for ApplicationContext to close in the 3 tests
that we needed to do so.

Fixes gh-664
11 years ago
Dave Syer 3304dd1cc9 Add spring.datasource.separator (default ";")
Fixes gh-715
11 years ago
Dave Syer 34604a9602 Add assertion about non-special resource 11 years ago
Patrick Radtke 80652007b5 RelaxedDataBinder handling for untyped map
Fixes gh-709
11 years ago
Hugo Flambo a77fee9f18 Fix typo and use *PropertySource* instead *ProperySource*
Fixes gh-705
11 years ago
Dave Syer f7c16764e6 Add setter for security.user.role
Fixes gh-700
11 years ago
Dave Syer 0aa93036fa Fix secure method configuration global authentication
This fixes a bug in the sample, where the AuthenticationManager it builds
is a local one for the filter chain containing "/login", whereas it was
expecting to override the Boot default, which is "global". The fix is
to extract the authentication configuration out into a
GlobalAuthenticationConfigurerAdapter.

Fixes gh-699
11 years ago
Dave Syer e4b8e174e8 Add test case for gh-699 11 years ago