Commit Graph

2998 Commits

Author SHA1 Message Date
Phillip Webb
d7a73e70be Support Redis without commons-pool2
Update `LettuceConnectionConfiguration` so that `commons-pool2` can
be an optional dependency.

See gh-10480
2017-10-04 11:12:00 -07:00
Phillip Webb
9192444c31 Polish 2017-10-03 18:32:16 -07:00
Madhura Bhave
99101bae5c Remove AuthenticationManagerConfigurationListener
Closes gh-10446
2017-10-03 14:34:16 -07:00
Madhura Bhave
9f1ed197d2 Update sample with placeholders for oauth client 2017-10-03 13:17:31 -07:00
Madhura Bhave
9692abba70 Use registrationId in redirectURI for default provider
Fixes gh-10505
2017-10-03 13:07:49 -07:00
Stephane Nicoll
b322b1943b Clarify scope of DataSourceInitializedEvent
This commit clarifies that DataSourceInitializedEvent is only to be
used by the datasource initializer facility and JPA (Hibernate). The
even is renamed to DataSourceSchemaCreatedEvent to clarify what it
actually signals.

Closes gh-4292
2017-10-03 16:05:02 +02:00
Stephane Nicoll
bd02edf2ce Configure JPA only if a single datasource is available
This commit changes HibernateJpaAutoConfiguration to back off if no
single datasource candidate is available in the context.

Closes gh-5541
2017-10-03 14:52:11 +02:00
Stephane Nicoll
8656512bbe Move DataSourceInitializer lifecycle
This commit separates the lifecycle of the datasource initialization
from DataSourceInitializer itself. It also makes sure that a @Primary
data source is no longer required.

Closes gh-10502
2017-10-03 14:52:11 +02:00
Stephane Nicoll
bccf9464aa Polish 2017-10-03 13:36:36 +02:00
Stephane Nicoll
bf945cc156 Polish 2017-10-03 09:08:41 +02:00
Madhura Bhave
dbe1d9608d Add auto-config for spring-security-oauth2-client
Closes gh-10497
2017-10-02 14:36:35 -07:00
Stephane Nicoll
fd478be5c3 Polish 2017-10-02 18:44:58 +02:00
Stephane Nicoll
2537a0a753 Polish "Auto-configure Kafka MessageConverter"
Closes gh-10380
2017-10-02 16:36:56 +02:00
Eddú Meléndez
d7bc93f278 Auto-configure Kafka MessageConverter
See gh-10380
2017-10-02 16:36:56 +02:00
Andy Wilkinson
41424e4529 Merge branch '1.5.x'
Closes gh-10457
2017-10-02 15:24:12 +01:00
Johnny Lim
bfa291f671 Polish 2017-10-02 15:07:03 +01:00
Stephane Nicoll
d778173089 Polish 2017-10-02 15:56:09 +02:00
Stephane Nicoll
6c826ef0b6 Polish "Adds support for useCodeAsDefaultMessage"
Closes gh-10466
2017-10-02 15:43:27 +02:00
Kedar Joshi
a68ec76bb6 Adds support for useCodeAsDefaultMessage
See gh-10466
2017-10-02 15:37:43 +02:00
Andy Wilkinson
9102eb32d1 Polish 2017-10-02 13:34:32 +01:00
Stephane Nicoll
76606afe86 Polish 2017-10-02 12:13:06 +02:00
Stephane Nicoll
1254c44985 Revert "Reuse spring.ldap.base in Embedded support" 2017-10-02 10:12:10 +02:00
dreis2211
40b4a21f4d Remove non short-circuit expression in Neo4jPropertiesTests
Closes gh-10468
2017-10-02 09:12:02 +02:00
dreis2211
38813edc23 Replace some loops with removeIf()
Closes gh-10469
2017-10-02 09:08:34 +02:00
David Pavel
0fbc5def32 Reuse spring.ldap.base in Embedded support
Closes gh-10444
2017-09-30 11:09:42 +02:00
Stephane Nicoll
ce8b59fc7d Extract configuration of MessageSourceAutoConfiguration
This commit extracts the configuration of MessageSourceAutoConfiguration
in a dedicated object.

Closes gh-9666
2017-09-29 16:09:38 +02:00
Phillip Webb
bec2e97b95 Polish 2017-09-28 09:17:33 -07:00
Madhura Bhave
c592e3b67d Simplify AuthenticationManagerConfiguration
Simplify `AuthenticationManagerConfiguration` following the recent
Spring Security auto-configuration updates.

See gh-7958
2017-09-28 08:56:20 -07:00
Phillip Webb
93f6168fd0 Polish 2017-09-28 07:54:22 -07:00
Stephane Nicoll
fa78170d78 Fix LiquibaseAutoConfigurationTests with Java 9
Liquibase does not currently work with Java 9. This commit disables on
test reproducing that behaviour when running with that version.

See gh-10442
2017-09-28 14:05:26 +02:00
Stephane Nicoll
6bf33774fe Fix ConditionalOnJavaTests with Java 9
See gh-7226
2017-09-28 14:05:26 +02:00
Stephane Nicoll
0ccd57285f Move JavaVersion to a reusable location. 2017-09-28 14:05:26 +02:00
Andy Wilkinson
2c2b9be4be Fix Jackson custom locale with Joda Time test on Java 9
The translations for the timezone names vary between Java 8 and Java
9. For example, with Java 9, UTC's name is no longer localized while
others have different localizations. This commit updates the test
to verify that the correct locale is being used while also tolerating
the different localization's of Java 8 and 9.

See gh-7226
2017-09-28 11:05:59 +01:00
Andy Wilkinson
0e2d34cdb4 Remove additional auto-configured security configurers
Closes gh-10435
2017-09-28 07:43:25 +01:00
Andy Wilkinson
644e43b98c Polish 2017-09-28 06:00:50 +01:00
Phillip Webb
9e43b99966 Polish 2017-09-27 17:44:48 -07:00
Andy Wilkinson
7e2d7dcd1d Polish 2017-09-27 19:48:26 +01:00
Andy Wilkinson
58c3b0d390 Start building against snapshots for Spring AMQP 2.0.0.RELEASE
See gh-7053
2017-09-27 19:48:26 +01:00
Madhura Bhave
5d05347e61 Add auto-config and starter for reactive security
Closes gh-9925
2017-09-26 19:36:48 -07:00
dreis2211
f3472beed8 Remove redundant semicolons
Closes gh-10422
2017-09-26 08:38:43 +02:00
Andy Wilkinson
33d04f0c91 Merge branch '1.5.x' 2017-09-25 17:07:25 +01:00
Andy Wilkinson
616d11c00a Only wait for background preinit to complete when it has started
Closes gh-10362
2017-09-25 17:06:28 +01:00
Andy Wilkinson
566f570d96 Polish 2017-09-25 14:36:30 +01:00
Andy Wilkinson
2f794ee8d9 Consider MongoOperationsSessionRepository when checking for duplicates
See gh-9552
2017-09-25 14:34:03 +01:00
Stephane Nicoll
15de6531a5 Polish "Add support for Spring WS auto WSDL/XSD exposure"
Closes gh-9635
2017-09-25 15:21:08 +02:00
Vedran Pavic
bb72a4abe1 Add support for Spring WS auto WSDL/XSD exposure
This commit adds support for auto-configuration of Spring WS automatic
WSDL and XSD exposure i.e. registration of `WsdlDefinition` and
`XsdDefinition` beans. The bean registration is triggered by configuring
`spring.webservices.wsdl-locations` property which will search the
provided locations for WSDL/XSD files and register appropriate beans.

See gh-9635
2017-09-25 15:21:08 +02:00
Stephane Nicoll
868cc4e1e0 Polish "Add KafkaAdmin Auto Configuration"
Closes gh-10309
2017-09-25 14:50:34 +02:00
Gary Russell
3e1d9fa856 Add KafkaAdmin Auto Configuration
Spring for Apache Kafka has added a `KafkaAdmin` feature to automatically
add new topics to the broker.

See gh-10309
2017-09-25 14:26:48 +02:00
Stephane Nicoll
c7eb0fb281 Polish 2017-09-25 14:12:24 +02:00
Andy Wilkinson
a1e26eaeea Merge pull request #9552 from Vedran Pavić
* gh-9552:
  Improve Spring Session MongoDB support naming
2017-09-25 11:03:21 +01:00