Commit Graph

20506 Commits (1b55f0ccf9bc46f4cf46edc2e676c22ae118c05f)
 

Author SHA1 Message Date
Andy Wilkinson 8e6b4629d4 Tolerate AuthenticationSwitchUserEvent with null target user
When Spring Security is misconfigured it's possible to switch from an anonymous user
to a normal user. When switching back again, the corresponding
AuthenticationSwitchUserEvent will have a null target user. Previously, Actuator's
AuthenticationAuditListener would throw a NullPointerException when it received such an
event.

This commit updates the audit listener to defensively handled events with a null target
user.

Closes gh-15767
6 years ago
Stephane Nicoll 738da8ffca Merge branch '2.1.x' 6 years ago
Stephane Nicoll a74717307f Merge pull request #15859 from matthiasstock
* pr/15859:
  Polish contribution
  Polish 'Database Initialization' section
6 years ago
Stephane Nicoll a1fbfbe6be Polish contribution
Closes gh-15859
6 years ago
Matthias Stock 3c761cfc96 Polish 'Database Initialization' section
See gh-15859
6 years ago
Stephane Nicoll f6f6d97269 Update copyright year 6 years ago
Stephane Nicoll d0c6a23565 Polish 6 years ago
Stephane Nicoll 3708eaf953 Merge pull request #15580 from cpandya231
* pr/15580:
  Polish "Change "Colophon" to "Legal""
  Change "Colophon" to "Legal"
6 years ago
Stephane Nicoll b91f613ca0 Polish "Change "Colophon" to "Legal""
Closes gh-15580
6 years ago
Chintan Pandya 781e055256 Change "Colophon" to "Legal"
See gh-15580
6 years ago
Andy Wilkinson c41924f7d4 Merge branch '2.1.x' 6 years ago
Andy Wilkinson d368e9c6eb Merge pull request #15775 from Johnny Lim
* gh-15775:
  Polish "Use class for @ConditionalOnClass"
  Use class for @ConditionalOnClass

Closes gh-15775
6 years ago
Andy Wilkinson ab8fcf0d71 Polish "Use class for @ConditionalOnClass"
See gh-15775
6 years ago
Johnny Lim b423962c89 Use class for @ConditionalOnClass
See gh-15775
6 years ago
Stephane Nicoll 81e6a5a4d9 Merge pull request #15325 from thorntonrp
* pr/15325:
  Polish "Support for capping archived log files"
  Support for capping archived log files
6 years ago
Stephane Nicoll f42cec9eac Polish "Support for capping archived log files"
Closes gh-15325
6 years ago
Robert Thornton 999780f342 Support for capping archived log files
See gh-15325
6 years ago
Andy Wilkinson 6b799da99f Merge pull request #7630 from Eddú Meléndez
* gh-7630:
  Polish "Add TestNG support in TestTypeExcludeFilter"
  Add TestNG support in TestTypeExcludeFilter

Closes gh-7630
6 years ago
Andy Wilkinson c04eba7ebc Polish "Add TestNG support in TestTypeExcludeFilter"
See gh-7630
6 years ago
Eddú Meléndez b005008cac Add TestNG support in TestTypeExcludeFilter
See gh-7630
6 years ago
Andy Wilkinson 4d9513404a Merge branch '2.1.x' 6 years ago
Andy Wilkinson 5ae7aeff21 Revert "Upgrade to Saaj Impl 1.5.1"
This reverts commit 1f47bd9717.

See gh-15915
6 years ago
Andy Wilkinson fc67e4472c Merge pull request #15842 from Raheela Aslam
* gh-15842:
  Polish "Make auto-config of RestTemplate metrics back off with no builder bean"
  Make auto-config of RestTemplate metrics back off with no builder bean

Closes gh-15842
6 years ago
Andy Wilkinson 22192c2b5c Polish "Make auto-config of RestTemplate metrics back off with no builder bean"
Closes gh-15842
6 years ago
Raheela 8f3c4dbc64 Make auto-config of RestTemplate metrics back off with no builder bean
See gh-15842
6 years ago
Andy Wilkinson 48e781181e Merge branch '2.1.x' 6 years ago
Andy Wilkinson 799ac24da1 Reinstate auto-config of RequestContextFilter with Jersey
Previously, the auto-configuration for both Jersey and WebMvc would auto-configure
a RequestContextFilter bean. In 2.1.0, this led to a startup failure due to the latter
attempting to override the bean defined by the former. In addition to the override there
were also problems with the order of the filter as Jersey uses -1 and MVC uses -105.

To avoid the above-described problems, the auto-configuration of the RequestContextFilter
was removed from JerseyAutoConfiguration in 2.1.1. Unfortunately, the broke
request-scoped beans for those using only Jersey.

This commit attempts to strike a better balance by reintroducing the auto-configuration
of RequestContextFilter in JerseyAutoConfiguration. It will back off if the user defines
their own filter or filter registration. WebMvcAutoConfiguration has been updated to
back off in the same manner. This leaves the potential for ordering problems, but they
are no worse than they were before. Furthermore, the user has the means to correct any
problems by using the various filter ordering properties that are provided for Jersey,
Spring Session, Spring Security, etc.

Closes gh-15376
6 years ago
Andy Wilkinson 2e66fc1d76 Merge branch '2.1.x' 6 years ago
Andy Wilkinson cc64398800 Revert "Upgrade to Couchbase Client 2.7.3"
This reverts commit 06feb728b8.

See gh-15914
6 years ago
Stephane Nicoll 6905edc649 Merge branch '2.1.x' 6 years ago
Stephane Nicoll 04aacdb37a Merge pull request #15881 from kedar-joshi
* pr/15881:
  Polish "Document internationalization support"
  Document internationalization support
6 years ago
Stephane Nicoll 4469c46b0a Polish "Document internationalization support"
Closes gh-15881
6 years ago
Kedar Joshi 989ac08f34 Document internationalization support
See gh-15881
6 years ago
Andy Wilkinson 5967a3b81d Merge branch '2.1.x' 6 years ago
Andy Wilkinson ef10eed83f Upgrade to Lombok 1.18.6
Closes gh-15928
6 years ago
Andy Wilkinson 3ec19362d6 Upgrade to Pooled Jms Version 1.0.4
Closes gh-15927
6 years ago
Andy Wilkinson 2ea9037aef Upgrade to Liquibase 3.6.3
Closes gh-15926
6 years ago
Andy Wilkinson 4cd1e68660 Upgrade to Mimepull 1.9.11
Closes gh-15925
6 years ago
Andy Wilkinson ba786048e0 Upgrade to Infinispan 9.4.6.Final
Closes gh-15924
6 years ago
Andy Wilkinson 8076dbc277 Upgrade to Groovy 2.5.6
Closes gh-15923
6 years ago
Andy Wilkinson 8b9b162675 Upgrade to Tomcat 9.0.16
Closes gh-15922
6 years ago
Andy Wilkinson 6dcf0ebb9b Upgrade to Log4j2 2.11.2
Closes gh-15921
6 years ago
Andy Wilkinson f8548d10b4 Upgrade to Artemis 2.6.4
Closes gh-15920
6 years ago
Andy Wilkinson 14212e9e22 Upgrade to Byte Buddy 1.9.10
Closes gh-15919
6 years ago
Andy Wilkinson ec9fe4bed5 Upgrade to Mysql 8.0.15
Closes gh-15918
6 years ago
Andy Wilkinson 59e9396c7d Upgrade to Undertow 2.0.17.Final
Closes gh-15917
6 years ago
Andy Wilkinson c2b5d9655d Upgrade to Rxjava2 2.2.6
Closes gh-15916
6 years ago
Andy Wilkinson 1f47bd9717 Upgrade to Saaj Impl 1.5.1
Closes gh-15915
6 years ago
Andy Wilkinson 06feb728b8 Upgrade to Couchbase Client 2.7.3
Closes gh-15914
6 years ago
Andy Wilkinson 0f2e13e707 Merge branch '2.0.x' into 2.1.x 6 years ago