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.
6 years ago
Vedran Pavic
6e967fe860
Upgrade to Hazelcast 3.11
...
Closes gh-14949
6 years ago
Phillip Webb
5a4220c773
Fix logging checkstye violations in samples
...
See gh-14911
6 years ago
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
6 years ago
Vedran Pavic
81c7ce1d15
Add starter for OAuth2 resource server
...
Closes gh-14950
6 years ago
Madhura Bhave
06f1a0e6a2
Use oauth2-client starter in reactive sample
6 years ago
Phillip Webb
df16349725
Rename oauth2-oidc-client starter in sample
...
Fixup sample POM following rename of the oauth2-oidc-client starter.
See gh-14951
6 years ago
Andy Wilkinson
22e722d9f9
Polish
6 years ago
Stephane Nicoll
474da80b4d
Revert "Restructure of security packages"
...
See gh-14412
6 years ago
Andy Wilkinson
fc60dcd972
Fix up version numbers following release
6 years ago
Spring Buildmaster
4d24feb443
Next development version
6 years ago
Brian Clozel
8397878857
Polish
...
See gh-12838
6 years ago
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
6 years ago
Madhura Bhave
bebfa76f55
Fix tests
...
See gh-12838
6 years ago
Phillip Webb
b3bdbd0e84
Upgrade cassandra-unit-spring to 3.5.0.1
...
Closes gh-14777
6 years ago
Stephane Nicoll
12cb478b0d
Restore files changes by accident
6 years ago
Andy Wilkinson
f2e4a0b44b
Polish
6 years ago
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
6 years ago
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
6 years ago
Madhura Bhave
daa3d457b7
Revert OAuth2 Client Registration Grant Type Hierarchy
...
Closes gh-14554
6 years ago
Phillip Webb
d76bba5e6f
Migrate from ExpectedException rule to AssertJ
...
Replace ExpectedException JUnit rules with AssertJ exception
assertions.
Closes gh-14336
6 years ago
Stephane Nicoll
ecee04a841
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
f225945218
Merge branch '1.5.x' into 2.0.x
6 years ago
Stephane Nicoll
3b51d79353
Remove useless jcache profile
...
Closes gh-14584
6 years ago
Stephane Nicoll
6e92c4ddaf
Polish
6 years ago
Andy Wilkinson
4b00dc8a5c
Add support for Spring Data JDBC (auto-config, starter, and test slice)
...
Closes gh-14489
6 years ago
Johnny Lim
521f746151
Polish
...
Closes gh-14517
6 years ago
Phillip Webb
0c00508b3c
Register ApplicationConversionService for context
...
Update `SpringApplication` to automatically register the shared
`ApplicationConversionService` instance with the `BeanFactory` and
`Environment`.
Closes gh-12148
6 years ago
Andy Wilkinson
3ab6d12c56
Fix up version numbers following release
6 years ago
Spring Buildmaster
46df506b0a
Next development version
6 years ago
Andy Wilkinson
7442e37154
Add JAXB API to Data JPA starter so it works out-of-the-box on Java 9+
...
Closes gh-14287
6 years ago
Stephane Nicoll
5f56adc334
Add activation API to WebServices samples on Java 11+
...
Closes gh-14308
6 years ago
Andy Wilkinson
21bc3d3ba5
Remove redundant Java 9 and 10 profile that adds JAXB API dependency
...
Closes gh-14309
6 years ago
Phillip Webb
59b5c54489
Upgrade to Rabbit AMQP Client to 5.4.0
...
Closes gh-14303
6 years ago
Phillip Webb
0cd64ea690
Merge branch '2.0.x'
6 years ago
Phillip Webb
45613f8c3c
Merge branch '1.5.x' into 2.0.x
6 years ago
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
6 years ago
Phillip Webb
9543fcf44d
Upgrade to spring-javaformat 0.0.6
6 years ago
Madhura Bhave
ae413c718d
Reinstate placeholders
6 years ago
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
6 years ago
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
6 years ago
Madhura Bhave
fc4340c5d4
Rename OAuth2 resource server properties
...
Closes gh-14165
6 years ago
Johnny Lim
c95b339f02
Polish
...
Closes gh-14149
6 years ago
Madhura Bhave
09e09bf430
Add starter for OpenID Connect/OAuth2 client
...
Closes gh-13830
6 years ago
Stephane Nicoll
d1ac774af2
Configure build to be compatible with Java 11
...
See gh-14028
6 years ago
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
6 years ago
Madhura Bhave
fe05fed76c
Merge branch '2.0.x'
6 years ago
Madhura Bhave
c7b4a992be
Fix formatting
6 years ago
Madhura Bhave
d724f154f4
Merge branch '2.0.x'
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago
Johnny Lim
d5eaaf6e2a
Polish
...
Closes gh-14049
6 years ago
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
6 years ago
Stephane Nicoll
48d365aba4
Fix checkstyle rule
6 years ago
Stephane Nicoll
aa0739e3b7
Fix checkstyle rule
6 years ago
Madhura Bhave
c69a1f208f
Remove duplicate sample from modules
6 years ago
Madhura Bhave
6512406a13
Add missing samples to pom and README
6 years ago
Madhura Bhave
bc6e4e6e55
Add auto-config for reactive OAuth2 Resource Server
...
Closes gh-13948
6 years ago
Stephane Nicoll
5cfe8dbee9
Polish
6 years ago
Madhura Bhave
d6b6a5f81f
Add auto-config for spring-security-oauth2-resource-server
...
Closes gh-13787
6 years ago
Stephane Nicoll
e51c26efdc
Fixup version numbers following release
6 years ago
Spring Buildmaster
73bf744cb0
Next Development Version
6 years ago
Phillip Webb
1b91c0ceb7
Merge branch '2.0.x'
6 years ago
Phillip Webb
0ec22c8bf9
Polish copyright date on changed files
6 years ago
Phillip Webb
80da9cf5eb
Merge branch '2.0.x'
6 years ago
Phillip Webb
aeb885192e
Polish ternary expressions
6 years ago
Phillip Webb
566056fd1a
Merge branch '2.0.x'
6 years ago
Phillip Webb
9ca9a491ca
Fix checkstyle issues in samples
...
Fix checkstyle issues with samples following the
spring-javaformat upgrade.
See gh-13932
6 years ago
Stephane Nicoll
e26f743e82
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
b6f6dca7f8
Remove useless profile
6 years ago
Stephane Nicoll
5ccb19500b
Polish
6 years ago
Stephane Nicoll
a2494df596
Merge branch '2.0.x'
6 years ago
Stephane Nicoll
64c668f766
Polish
6 years ago
Stephane Nicoll
4e01eb865b
Polish
...
See gh-13210
6 years ago
Madhura Bhave
f88ebc06ff
Add support for OIDC Configuration Provider
...
Closes gh-13210
6 years ago
Stephane Nicoll
370af6df08
Revert "Ignore test affect by a regression in Spring Data Lovelace"
...
This reverts commit d9215d5714
.
Closes gh-13784
6 years ago
Stephane Nicoll
d9215d5714
Ignore test affect by a regression in Spring Data Lovelace
6 years ago
Stephane Nicoll
48962718d1
Merge branch '2.0.x'
6 years ago
Johnny Lim
068e22d60b
Polish
...
See gh-13776
6 years ago
Madhura Bhave
d1b8558430
Make /health and /info insecure by default
...
Closes gh-13722
6 years ago
Andy Wilkinson
6a48a440b2
Annotate our test annotations with @ExtendWith(SpringExtension.class)
...
Closes gh-13739
6 years ago
Andy Wilkinson
db58654492
Make JAXB API available to Groovy Templates when running on Java 9+
...
See gh-13670
6 years ago
Andy Wilkinson
d7fcec1ada
Remove the use of a bean override form SampleKafkaApplicationTests
...
See gh-13609
6 years ago
Andy Wilkinson
134edf9f2a
Upgrade to Jooq 3.11.2
...
Closes gh-13675
6 years ago
Andy Wilkinson
45fdf2ffa4
Support Tomcat 9 and Undertow 2
...
Closes gh-11749
Closes gh-12243
6 years ago
Andy Wilkinson
5c3b4333f8
Merge branch '2.0.x'
7 years ago
Andy Wilkinson
30f0fd1fe4
Merge branch '1.5.x' into 2.0.x
7 years ago
Andy Wilkinson
b1d8cc55fc
Polish "Fix JSP availability check when not running as a packaged war"
...
Closes gh-12859
7 years ago
Stephane Nicoll
3b0c1354cb
Upgrade to Maven Surefire/Failsafe Plugin 2.22.0
...
Closes gh-13500
7 years ago
Stephane Nicoll
af126b1bb3
Fixup version numbers following release
7 years ago
Spring Buildmaster
36b8639853
Next Development Version
7 years ago
Stephane Nicoll
c738b73c6f
Merge branch '2.0.x'
7 years ago
Johnny Lim
870d7fe16a
Use @SpringBootTest.properties in tests and samples
...
Closes gh-13453
7 years ago
Phillip Webb
e0ae805924
Update copyright header
7 years ago
Phillip Webb
845c20f13b
Merge branch '2.0.x'
7 years ago
Phillip Webb
e3bf518819
Merge branch '1.5.x' into 2.0.x
7 years ago
Phillip Webb
6c7289b822
Allow META-INF/resources in WAR classes folder
...
Update `TomcatResources` so that `META-INF/resources` folders in
`src/main/resources` no longer fail with a "URI is not hierarchical"
exception.
Closes gh-13265
7 years ago
Phillip Webb
ade1397ea2
Merge branch '2.0.x'
7 years ago
Phillip Webb
571c50e43f
Switch to functional web code to use static imports
...
Update the samples and tests to use the more idiomatic static import
style.
7 years ago