Commit Graph

16587 Commits

Author SHA1 Message Date
Phillip Webb
401fcbeaa4 Merge branch '1.5.x' into 2.0.x 2018-05-30 13:29:10 -07:00
Phillip Webb
2bfcefa48e Reinstate support for disabling build checking
Closes gh-13291
2018-05-30 13:24:06 -07:00
Phillip Webb
587df6a07a Port call setHttpOnly property on Tomcat context
Port "setHttpOnly on the TomcatContext" fix from commit 4d84933ee4 to
2.0.x. Since `Session` details are now configured on the
`WebServerFactory` we can directly configure the context.

See gh-12580
2018-05-30 12:23:40 -07:00
Phillip Webb
e38d5f910b Merge branch '1.5.x' into 2.0.x 2018-05-30 12:18:38 -07:00
Phillip Webb
09fa1e7e11 Polish 2018-05-30 12:12:01 -07:00
Phillip Webb
4d84933ee4 Also call setHttpOnly property on Tomcat context
Update `ServerProperties` to also call `setHttpOnly` on the
`TomcatContext`. It appears that this is required in addition to
using the `ServletContextInitializer` to setup `SessionCookieConfig`.

Closes gh-12580
2018-05-30 12:02:46 -07:00
Phillip Webb
b03f890567 Upgrade to spring-javaformat 0.0.2 2018-05-30 11:14:26 -07:00
Stephane Nicoll
10589b90e4 Merge pull request #13302 from izeye:remove-unnecessary-quartz-data-source
* pr/13302:
  Remove an unnecessary @QuartzDataSource
2018-05-30 17:49:41 +02:00
Johnny Lim
4eb070767c Remove an unnecessary @QuartzDataSource
Closes gh-13302
2018-05-30 17:49:21 +02:00
Stephane Nicoll
b47a72731f Merge branch '1.5.x' into 2.0.x 2018-05-30 15:27:58 +02:00
Stephane Nicoll
5692b83a6f Add note on sanitizing values
Closes gh-13138
2018-05-30 15:21:58 +02:00
Andy Wilkinson
35c48bb9bd Polish 2018-05-30 10:28:52 +01:00
Madhura Bhave
9229b6f248 Merge pull request #13088 from icha024
* gh-13088:
  Fix test in "Truststore password if SSLstoreprovider present"
  Use empty trust-store password if SSL store provider present
2018-05-29 15:12:53 -07:00
Madhura Bhave
ad1283195a Fix test in "Truststore password if SSLstoreprovider present"
See gh-13088
2018-05-29 15:06:39 -07:00
Ian Chan
e75d45ca45 Use empty trust-store password if SSL store provider present
For Tomcat, if an SslStoreProvider is configured,
`SslStoreProviderUrlStreamHandlerFactory` stores the trust-store with an
empty password. Previously, if a password was supplied using the
ssl.trust-store-password property, that would be the password used to
load the trust-store and the connector would warn with "Password
verification failed" message.

Fixes gh-12688
2018-05-29 15:02:30 -07:00
Stephane Nicoll
7849d73828 Polish
See gh-13031
2018-05-29 17:28:16 +02:00
Stephane Nicoll
faa9910e46 Enable cache when a SecurityContext parameter is used
This commit restores caching for the main read operation when the
SecurityContext does not expose a principal (i.e. guest access).

Closes gh-13238
2018-05-29 15:56:22 +02:00
Andy Wilkinson
1ce22aa50a Polish 2018-05-29 13:58:40 +01:00
Stephane Nicoll
4259817572 Fix extension discovery when endpoint instance is sub-classed
This commit fixes endpoint extension discovery when the related endpoint
is sub-classed. Previously, a strict by type check was applied against
the `endpoint` attribute of `EndpointExtension`.

Rather than using a `Class` check, this commit extracts the id of an
endpoint and uses it to match its extension, if any.

Closes gh-13082
2018-05-29 14:12:23 +02:00
Stephane Nicoll
9de2d1f839 Merge pull request #13288 from nkjackzhang:patch-1
* pr/13288:
  Fix wrong reference in cast operation
2018-05-29 10:39:27 +02:00
nkjackzhang
17bcd1c359 Fix wrong reference in cast operation
Closes gh-13288
2018-05-29 10:37:32 +02:00
Stephane Nicoll
c2315f2e8c Merge pull request #13286 from izeye:tag-constants
* pr/13286:
  Use more Tag constants
2018-05-29 09:32:49 +02:00
Johnny Lim
bd2053aa17 Use more Tag constants
Closes gh-13286
2018-05-29 09:32:26 +02:00
Stephane Nicoll
cdcb37bed5 Merge pull request #13284 from izeye:patch-49
* pr/13284:
  Fix a wrong issue reference
2018-05-29 09:22:01 +02:00
Johnny Lim
9de2a8786d Fix a wrong issue reference
Closes gh-13284
2018-05-29 09:21:41 +02:00
Stephane Nicoll
41bcfad647 Merge pull request #13280 from dreis2211:assert-integration-autoconfiguration
* pr/13280:
  Add assertion in IntegrationAutoConfigurationTests
2018-05-29 09:04:22 +02:00
dreis2211
3ed31d60dc Add assertion in IntegrationAutoConfigurationTests
Closes gh-13280
2018-05-29 09:04:00 +02:00
Stephane Nicoll
8a9d0bd22a Merge branch '1.5.x' into 2.0.x 2018-05-28 14:28:45 +02:00
Stephane Nicoll
3118f14dbb Fix NPE when OnExpressionCondition is invoked with a null BeanFactory
Closes gh-13249
2018-05-28 14:22:38 +02:00
Stephane Nicoll
15ba50ab3e Merge branch '1.5.x' into 2.0.x 2018-05-28 10:52:21 +02:00
Stephane Nicoll
2140196f64 Merge pull request #13262 from lukaseder:master
* pr/13262:
  Polish "Reference the latest version of the jOOQ manual"
  Reference the latest version of the jOOQ manual
2018-05-28 10:44:36 +02:00
Stephane Nicoll
fcd8e0fad3 Polish "Reference the latest version of the jOOQ manual"
Closes gh-13262
2018-05-28 10:44:07 +02:00
Lukas Eder
cb1530d38e Reference the latest version of the jOOQ manual
See gh-13262
2018-05-28 10:20:54 +02:00
Stephane Nicoll
059b7e0327 Merge pull request #13243 from izeye:polish-20180523
* pr/13243:
  Polish
2018-05-28 09:41:24 +02:00
Johnny Lim
f385a1cb11 Polish
Closes gh-13243
2018-05-28 09:36:15 +02:00
Stephane Nicoll
547fa9d5c6 Merge pull request #13274 from eddumelendez:fix_javadoc
* pr/13274:
  Fix javadoc
2018-05-28 09:26:54 +02:00
Eddú Meléndez
065eebfb4b Fix javadoc
Closes gh-13274
2018-05-28 09:26:16 +02:00
Stephane Nicoll
2c353762ab Merge pull request #13271 from hengyunabc:fix_maven
* pr/13271:
  Add enforce-rule to ensure maven version >= 3.5.0
2018-05-27 18:04:24 +02:00
hengyunabc
b75e58b70f Add enforce-rule to ensure maven version >= 3.5.0
Closes gh-13271
2018-05-27 18:03:52 +02:00
Phillip Webb
dba73d76b8 Merge branch '1.5.x' into 2.0.x 2018-05-26 08:43:27 -07:00
Phillip Webb
f45ed0e56c Don't validate HelpMojo formatting
The `HelpMojo` class is always generated and it should not be checked
for formatting.

See gh-13255
2018-05-26 08:41:21 -07:00
Stephane Nicoll
feee8b5db6 Merge pull request #13266 from aheritier:patch-2
* pr/13266:
  Add missing semicolon in example
2018-05-26 12:44:36 +02:00
Arnaud Heritier
b60eadb10b Add missing semicolon in example
Closes gh-13266
2018-05-26 12:44:11 +02:00
Phillip Webb
6f0ccc64a5 Fix checkstyle violations 2018-05-25 23:03:17 -07:00
Phillip Webb
9fd3b9103a Format code 2018-05-25 23:02:45 -07:00
Phillip Webb
e544922dd7 Merge branch '1.5.x' into 2.0.x 2018-05-25 23:02:08 -07:00
Phillip Webb
e75d8eaf40 Switch to spring-javaformat plugin
Use `spring-javaformat` to format and check code. Code formatting can
now be applied using the `spring-javaformat-maven-plugin` from the
command line. Existing checkstyle rules have also been replaced and
the CONTRIBUTING.adoc file has been updated.

Closes gh-13255
2018-05-25 20:59:04 -07:00
Phillip Webb
9c5f207e22 Fix merge error 2018-05-25 20:57:46 -07:00
Phillip Webb
21d80d87a3 Merge branch '1.5.x' into 2.0.x 2018-05-25 18:45:37 -07:00
Phillip Webb
e69296d7d3 Fix checkstyle violations in samples 2018-05-25 18:18:00 -07:00