Madhura Bhave
988ba3ff78
Fix author tag
2019-03-18 14:10:28 -07:00
Madhura Bhave
3d0219c315
Merge branch '2.1.x'
2019-03-15 18:09:47 -07:00
Johnny Lim
c5b5f752ed
Polish
...
Closes gh-16219
2019-03-15 17:54:48 -07:00
Andy Wilkinson
68bfb020aa
Reduce need for bean method proxying and disable where not needed
...
Closes gh-9068
2019-03-12 13:18:42 +00:00
Phillip Webb
dd3e8154d9
Merge branch '2.1.x'
2019-03-11 22:15:19 -07:00
Phillip Webb
fc3aa43cc2
Update copyright year for changed files
2019-03-11 22:14:53 -07:00
Andy Wilkinson
aa2008bc5a
Merge branch '2.1.x'
2019-03-11 16:40:19 +00:00
Andy Wilkinson
8c3cec8f13
Merge branch '2.0.x' into 2.1.x
2019-03-11 16:14:19 +00:00
Andy Wilkinson
361437f4e2
Merge branch '1.5.x' into 2.0.x
2019-03-11 15:53:34 +00:00
Andy Wilkinson
821ee0cf83
Ensure that @Bean methods are only declared on @Configuration classes
...
Closes gh-16190
2019-03-11 15:01:59 +00:00
Andy Wilkinson
d6a869fa98
Switch to Jakarta EE API dependencies where possible
...
Closes gh-16113
Closes gh-16112
Closes gh-16111
Closes gh-15916
Closes gh-15689
2019-03-06 11:20:51 +00:00
Andy Wilkinson
cd13a1685c
Align HATEAOS sample with latest breaking API changes
...
See gh-15939
2019-02-28 19:37:00 +00:00
Madhura Bhave
3d03c01bfc
Merge branch '2.1.x'
2019-02-20 18:41:58 -08:00
Madhura Bhave
f8e5b9ba47
Fix formatting
2019-02-20 18:41:26 -08:00
Madhura Bhave
6f045d8891
Merge branch '2.1.x'
2019-02-20 16:13:20 -08:00
Madhura Bhave
c3e47541ad
EndpointRequest should check that the request is to the mgmt context
...
Fixes gh-15702
2019-02-20 16:08:26 -08:00
Andy Wilkinson
3a4a431eaa
Provide a configuration option to enable lazy initialization
...
Closes gh-15870
2019-02-14 12:41:49 +00:00
Madhura Bhave
a838aac17d
Merge branch '2.1.x'
2019-02-13 18:50:04 -08:00
Madhura Bhave
a34e71c2c8
Fix formatting violations in sample
2019-02-13 18:49:09 -08:00
Madhura Bhave
862ffcbbf4
Merge branch '2.1.x'
2019-02-13 13:33:14 -08:00
Madhura Bhave
bbe555a4f5
Split Jersey management context configuration
...
This commit splits the management context configuration for jersey
into two separate configurations depending on if the type is SAME or
CHILD. The configuration for the SAME context should only kick in if
there is no existing ResourceConfig bean.
Fixes gh-15891
2019-02-13 13:27:54 -08:00
Andy Wilkinson
2ed7cf84e1
Fix up version numbers following release
2019-01-11 16:20:19 +00:00
Spring Buildmaster
b04710d744
Next development version
2019-01-11 15:59:00 +00:00
Andy Wilkinson
3a7406fe3a
Merge branch '2.0.x' into 2.1.x
2018-12-20 15:58:03 +00:00
Andy Wilkinson
0741c90489
Avoid blocking on a Mono indefinitely
...
Closes gh-15535
2018-12-20 15:31:39 +00:00
Andy Wilkinson
9d2d6d5812
Merge branch '2.1.x'
2018-12-20 15:30:51 +00:00
Andy Wilkinson
9a33d1a2f9
Merge branch '2.0.x' into 2.1.x
2018-12-20 15:30:42 +00:00
Andy Wilkinson
8c68da0882
Avoid blocking on a Mono indefinitely
...
Closes gh-15535
2018-12-20 15:24:53 +00:00
Andy Wilkinson
61d04db0d7
Minimize and centralize assumptions about build output
...
Closes gh-15471
2018-12-14 17:50:20 +00:00
Andy Wilkinson
7d0a7a65c8
Merge branch '2.1.x'
2018-12-14 14:58:52 +00:00
Andy Wilkinson
b264b4417d
Reinstate parent-context sample in list of modules
...
Closes gh-15469
2018-12-14 14:56:26 +00:00
Andy Wilkinson
064f6478df
Move back to JUnit 4 until SUREFIRE-1614 has been resolved
...
See gh-14736
See gh-14737
See gh-14738
2018-12-12 16:49:30 +00:00
Madhura Bhave
f863ce32ee
Merge branch '2.1.x'
2018-12-10 16:44:42 -08:00
Madhura Bhave
3cc441c83e
Do not remove trailing slash from OAuth2 Issuer URI
...
Fixes gh-15324
2018-12-10 16:35:52 -08:00
Andy Wilkinson
9a97e1b0f7
Drop use of OutputCapture in SampleKafkaApplicationTests
...
Closes gh-15432
2018-12-10 10:11:50 +00:00
Andy Wilkinson
bbf0932f0f
Exclude jcl-over-slf4j in favour of spring-jcl
...
Closes gh-15392
2018-12-07 15:37:24 +00:00
Madhura Bhave
59d2b0a3fb
Upgrade tests to Junit5
...
See gh-14737
2018-12-05 17:49:09 -08:00
TwinProduction
21da4a5d12
Rename logging.file to logging.file.name
...
See gh-15089
2018-12-03 10:42:30 +01:00
Phillip Webb
ed9468a31a
Update copyright year for changed files
2018-11-29 22:02:45 -08:00
Stephane Nicoll
542b8985ad
Fixup version numbers following release
2018-11-29 11:37:51 +01:00
Spring Buildmaster
9bb64a3493
Next Development Version
2018-11-29 09:52:39 +00:00
Andy Wilkinson
ac77fc9dcf
Ignore .writing files in Integration samples tests
...
Previously, a temporary .writing file could be found and an attempt made to
access its contents. If the temporary file was deleted between it being found
and its contents being read, the test would fail with a FileNotFoundException.
This commit updates the test to ignore .writing files so that it will only
examine the contents of the final file once Integration has finished
writing it an atomically moved it to its final location.
2018-11-27 11:24:25 +00:00
Vedran Pavic
6e967fe860
Upgrade to Hazelcast 3.11
...
Closes gh-14949
2018-10-25 15:57:59 -07:00
Phillip Webb
5a4220c773
Fix logging checkstye violations in samples
...
See gh-14911
2018-10-25 09:28:04 -07:00
Vedran Pavic
4b2f084e28
Use message source in Web UI sample
...
Update the sample application to show how a message source can be
used in the view tier.
Closes gh-14947
See gh-14882
2018-10-24 21:50:40 -07:00
Vedran Pavic
81c7ce1d15
Add starter for OAuth2 resource server
...
Closes gh-14950
2018-10-24 21:37:28 -07:00
Madhura Bhave
06f1a0e6a2
Use oauth2-client starter in reactive sample
2018-10-24 19:56:36 -07:00
Phillip Webb
df16349725
Rename oauth2-oidc-client starter in sample
...
Fixup sample POM following rename of the oauth2-oidc-client starter.
See gh-14951
2018-10-24 19:40:35 -07:00
Andy Wilkinson
22e722d9f9
Polish
2018-10-18 15:51:20 +01:00
Stephane Nicoll
474da80b4d
Revert "Restructure of security packages"
...
See gh-14412
2018-10-17 12:22:51 +02:00
Andy Wilkinson
fc60dcd972
Fix up version numbers following release
2018-10-16 11:10:54 +01:00
Spring Buildmaster
4d24feb443
Next development version
2018-10-16 08:44:44 +00:00
Brian Clozel
8397878857
Polish
...
See gh-12838
2018-10-16 10:35:25 +02:00
Madhura Bhave
f835f82582
Preliminary restructure of security packages
...
Restructure the security auto-configuration packages to better reflect
the part of the system that the configuration applies to.
See gh-14412
2018-10-16 01:01:10 -07:00
Madhura Bhave
bebfa76f55
Fix tests
...
See gh-12838
2018-10-15 16:52:05 -07:00
Phillip Webb
b3bdbd0e84
Upgrade cassandra-unit-spring to 3.5.0.1
...
Closes gh-14777
2018-10-10 10:00:44 -07:00
Stephane Nicoll
12cb478b0d
Restore files changes by accident
2018-10-05 23:07:08 +02:00
Andy Wilkinson
f2e4a0b44b
Polish
2018-10-05 16:03:24 +01:00
Stephane Nicoll
bdd8e53124
Improve filtering of actuator auto-configurations
...
This commit splits auto-configurations that require different
environments so that they can be filtered early.
Closes gh-12260
2018-10-05 14:57:17 +02:00
Phillip Webb
8b59503291
Validate server.servlet.path does not contain '*'
...
Update `WebMvcProperties` to enforce that `server.servlet.path` never
contains a wildcard ['*'] character.
Closes gh-13292
2018-10-04 19:45:41 -07:00
Madhura Bhave
daa3d457b7
Revert OAuth2 Client Registration Grant Type Hierarchy
...
Closes gh-14554
2018-10-04 15:21:36 -07:00
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
2018-10-02 10:55:28 -07:00
Stephane Nicoll
ecee04a841
Merge branch '2.0.x'
2018-09-22 20:25:09 +02:00
Stephane Nicoll
f225945218
Merge branch '1.5.x' into 2.0.x
2018-09-22 20:24:46 +02:00
Stephane Nicoll
3b51d79353
Remove useless jcache profile
...
Closes gh-14584
2018-09-22 20:24:25 +02:00
Stephane Nicoll
6e92c4ddaf
Polish
2018-09-22 20:23:41 +02:00
Andy Wilkinson
4b00dc8a5c
Add support for Spring Data JDBC (auto-config, starter, and test slice)
...
Closes gh-14489
2018-09-21 14:18:52 +01:00
Johnny Lim
521f746151
Polish
...
Closes gh-14517
2018-09-20 09:51:10 +02:00
Phillip Webb
0c00508b3c
Register ApplicationConversionService for context
...
Update `SpringApplication` to automatically register the shared
`ApplicationConversionService` instance with the `BeanFactory` and
`Environment`.
Closes gh-12148
2018-09-11 14:24:27 -07:00
Andy Wilkinson
3ab6d12c56
Fix up version numbers following release
2018-09-11 17:11:47 +01:00
Spring Buildmaster
46df506b0a
Next development version
2018-09-11 14:24:40 +00:00
Andy Wilkinson
7442e37154
Add JAXB API to Data JPA starter so it works out-of-the-box on Java 9+
...
Closes gh-14287
2018-09-05 14:23:18 +01:00
Stephane Nicoll
5f56adc334
Add activation API to WebServices samples on Java 11+
...
Closes gh-14308
2018-09-05 14:17:31 +02:00
Andy Wilkinson
21bc3d3ba5
Remove redundant Java 9 and 10 profile that adds JAXB API dependency
...
Closes gh-14309
2018-09-05 11:55:30 +01:00
Phillip Webb
59b5c54489
Upgrade to Rabbit AMQP Client to 5.4.0
...
Closes gh-14303
2018-09-04 15:21:06 -07:00
Phillip Webb
0cd64ea690
Merge branch '2.0.x'
2018-09-04 15:15:57 -07:00
Phillip Webb
45613f8c3c
Merge branch '1.5.x' into 2.0.x
2018-09-04 15:12:22 -07:00
Phillip Webb
a50686b404
Surface additional rabbit SSL factory properties
...
Add `validate-server-certificate` and `verify-hostname` properties to
`spring.rabbitmq.ssl` to allow additional SSL configuration.
Closes gh-14259
2018-09-04 15:07:53 -07:00
Phillip Webb
9543fcf44d
Upgrade to spring-javaformat 0.0.6
2018-08-30 15:59:27 -07:00
Madhura Bhave
ae413c718d
Reinstate placeholders
2018-08-28 15:45:08 -07:00
Madhura Bhave
a33e58fc45
Deprecate OAuth2 login redirect-uri-template
...
This property is deprecated in favor of
`spring.security.oauth2.client.registration.login.*.redirect-uri
Closes gh-14226
2018-08-28 15:40:54 -07:00
Madhura Bhave
f5deebf0cb
Support authorization_code grant for OAuth2 client
...
This commit also refactors OAuth2 client properties. With
the added support for authorization_code clients, client
registrations are now divided into `login` and `authorization_code`.
An environment post processor is used for backward compatibility with
old Open ID Connect login clients.
Closes gh-13812
2018-08-28 13:49:07 -07:00
Madhura Bhave
fc4340c5d4
Rename OAuth2 resource server properties
...
Closes gh-14165
2018-08-23 16:51:27 -07:00
Johnny Lim
c95b339f02
Polish
...
Closes gh-14149
2018-08-22 10:38:00 +02:00
Madhura Bhave
09e09bf430
Add starter for OpenID Connect/OAuth2 client
...
Closes gh-13830
2018-08-17 13:03:55 -07:00
Stephane Nicoll
d1ac774af2
Configure build to be compatible with Java 11
...
See gh-14028
2018-08-17 15:16:02 +02:00
Stephane Nicoll
930c838da9
Remove Narayana support
...
The Spring Boot integration is now handled by the Narayana project
itself at https://github.com/snowdrop/narayana-spring-boot
This commit removes our support.
Closes gh-12026
2018-08-17 15:08:55 +02:00
Madhura Bhave
fe05fed76c
Merge branch '2.0.x'
2018-08-16 16:44:03 -07:00
Madhura Bhave
c7b4a992be
Fix formatting
2018-08-16 16:43:31 -07:00
Madhura Bhave
d724f154f4
Merge branch '2.0.x'
2018-08-16 15:45:20 -07:00
Madhura Bhave
b93c2b9a9f
Allow actuator endpoints to be used with mvcMatchers
...
This commit changes AbstractWebMvcEndpointHandlerMapping to
be a MatchableHandlerMapping. Additionally, EndpointRequest,
now delegates to MvcRequestMatcher for Spring MVC applications.
For all other applications, AntPathRequestMatcher is used as
a delegate.
Closes gh-13962
2018-08-16 15:41:02 -07:00
Andy Wilkinson
f28528a527
Allow Data JPA's bootstrap mode to be configured via the environment
...
In Spring Data Lovelace, repositories' bootstrap mode can be
configured via @EnableJpaRepositories. This commit adds support for
configuring the mode via the environment rather than having to use
the annotation. Additionally, when deferred or lazy bootstrapping is
being used, the LocalContainerEntityManagerFactoryBean is configured
to use a bootstrap executor. This allows JPA's initialization to be
performed on a separate thread, allowing the rest of application
context initialization to proceed in parallel.
Closes gh-13833
2018-08-16 20:01:24 +01:00
Andy Wilkinson
0ba6d8da4a
Switch to Yahoo for OIDC as Google's cert is not yet trusted by Java 11
...
Until the fix for JDK-8209506 [1] is available in Java 11 builds,
SSL connections to services using Google's SSL certificate do not work
due to a lack of trust. This affects both our OAuth2 client samples
which were using https://accounts.google.com as an OpenID Connect
provider.
This commit switches the two samples to use Yahoo in place of Google.
See gh-14028
[1] https://bugs.openjdk.java.net/browse/JDK-8209506
2018-08-15 14:35:32 +01:00
Johnny Lim
d5eaaf6e2a
Polish
...
Closes gh-14049
2018-08-15 10:43:46 +03:00
Andy Wilkinson
e0d67ae703
Avoid Atmosphere using a null URL to create a URLClassLoader
...
Unlike Java 8, 9, and 10, Java 11 does not tolerate a null URL being
used to create a URLClassLoader. The Atmosphere sample looks for
a resource named /WEB-INF/classes which only exists in a packaged
war application. In all other cases the resulting URL is null.
Atmosphere uses this to create a URLClassLoader which fails on Java
11.
This commit updates the sample to customize the handlers path. There
are other web application-specific assumptions in Atmosphere, such as
the scanning of WEB-INF/lib by default. This change appears to get
the sample going, but we should, perhaps, consider removing it in the
longer term, particularly as Boot itself has no Atmosphere
integration.
See gh-14028
2018-08-15 08:34:24 +01:00
Stephane Nicoll
48d365aba4
Fix checkstyle rule
2018-08-08 13:04:08 +02:00
Stephane Nicoll
aa0739e3b7
Fix checkstyle rule
2018-08-08 10:33:34 +02:00
Madhura Bhave
c69a1f208f
Remove duplicate sample from modules
2018-08-07 23:43:58 -07:00
Madhura Bhave
6512406a13
Add missing samples to pom and README
2018-08-07 21:05:15 -07:00
Madhura Bhave
bc6e4e6e55
Add auto-config for reactive OAuth2 Resource Server
...
Closes gh-13948
2018-08-07 20:46:55 -07:00