7548 Commits

Author SHA1 Message Date
Joe Grandja
b7f1bdae64 Display general error message when WebFlux oauth2Login() fails
Issue gh-5562 gh-6484
2019-12-05 20:45:18 -05:00
Joe Grandja
459e8f1a11 WebFlux oauth2Login() redirects on failed authentication
Fixes gh-5562 gh-6484
2019-12-05 20:42:23 -05:00
Warren Bailey
450a20add4 When expired retrieve new Client Credentials token.
Once client credentials access token has expired retrieve a new token from the OAuth2 authorization server.
These tokens can't be refreshed because they do not have a refresh token associated with. This is standard behaviour for Oauth 2 client credentails

Fixes gh-5893
2019-11-28 16:02:06 -05:00
Rob Winch
f3f84e1aff Next Development Version 2019-11-04 13:58:52 -06:00
Rob Winch
4a9d13dc5c Release 5.1.7.RELEASE 5.1.7.RELEASE 2019-11-04 13:56:38 -06:00
Rob Winch
62529278b5 Update to Spring Data Lovelace-SR12
Fixes gh-7617
2019-11-04 13:04:01 -06:00
Rob Winch
dcb3b6940f Update to Spring 5.1.11.RELEASE
Fixes gh-7616
2019-11-04 13:03:48 -06:00
Rob Winch
a82047e61b Update Californium-SR13
Fixes gh-7615
2019-11-04 13:03:36 -06:00
Rob Winch
6c54e5f278 Update to Spring Boot 2.1.9.RELEASE
Fixes gh-7614
2019-11-04 13:03:14 -06:00
Josh Cummings
8589580aa2
CookieServerCsrfTokenRepositoryTests Leading Dot
ResponseCookie removed support for having a leading dot in the cookie
domain.

Fixes gh-7500
2019-09-30 08:52:42 -06:00
Joe Grandja
1749c8df9c OAuth2AuthorizationCodeGrantWebFilter matches on registered redirect-uri
Fixes gh-7036
2019-09-24 15:50:19 -04:00
Roman Matiushchenko
a5391b629e Fix NPE in RequestContextSubscriber
RequestContextSubscriber could cause NPE if Mono/Flux.subscribe()
was invoked outside of Web Context.
In addition it replaced source Context with its own without respect
to old data.
Now Request Context Data is Propagated within holder class and
it is added to existing reactor Context if Holder is not empty.

Fixes gh-7228
2019-09-08 20:35:09 -04:00
Andreas Kluth
57f3c76801 Remove OAuth2AuthorizationRequest when a distributed session is used
Dirties the WebSession by putting the amended AUTHORIZATION_REQUEST map into
the WebSession even it was already in the map. This causes common SessionRepository
implementations like Redis to persist the updated attribute.

Fixes gh-7327

Author: Andreas Kluth <mail@andreaskluth.net>
2019-09-05 10:04:14 -04:00
Rob Winch
f8f1e9a3d4 Use ConcurrentHashMap in InMemoryReactiveClientRegistrationRepository
Fixes gh-7299
2019-09-04 19:21:22 -05:00
Bouke Nijhuis
bf78e43403 add media type jwk-set+json to accept header
Fixes gh-7290
2019-09-03 14:39:18 -04:00
Angel Aguilera
3599ad7547 use simple link instead of 'pass' macro 2019-08-29 06:23:26 -05:00
Angel Aguilera
143e3ac249 fix footnotes markup
Fixes #3180
2019-08-29 06:23:26 -05:00
Josh Cummings
362356dea5
Add WebSecurityConfigurerAdapter Doc Detail
Fixes gh-6809
2019-08-22 17:58:14 -06:00
Daniel Wegener
f28fe2d501
Add OnCommittedResponseWrapper.setContentLengthLong
Add setContentLengthLong tracking to OnCommittedResponseWrapper in
order to detect commits on servlets that use setContentLengthLong to
announce the entity size they are about to write (as used in the
Apache Tomcat's DefaultServlet).

Fixes gh-7261
2019-08-22 12:19:33 -06:00
Rob Winch
5114190cb6 Fix WebClient Memory Leaks
WebClient exchange requires that the body is consumed. Before this commit
there were places where an Exception was thrown without consuming the body
if the status was not successful. There was also the potential for the
statusCode invocation to throw an Exception of the status code was not
defined which would cause a leak.

This commit ensures that before the Exception is thrown the body is
consumed. It also uses the http status in a way that will ensure an
Exception is not thrown.

Fixes gh-7293
2019-08-21 12:46:54 -05:00
Rob Winch
93d1c7f59f Fix JDK 10+
Issue gh-7265
2019-08-16 11:15:01 -05:00
Rob Winch
2c128e85fa SecurityMockMvcConfigurer Honors Filter Order
Fixes gh-7265
2019-08-16 09:41:16 -05:00
Eleftheria Stein
a17b75e862 Expire as many sessions as exceed maximum allowed
Fixes: gh-7166
2019-08-15 09:49:08 -05:00
Jeffrey Morlan
178a5e0819 Fix race condition in SessionRegistryImpl
Adding/removing sessions from principals wasn't atomic. If one thread
removed the last session from a principal while another thread added a
new one, the addition could be lost.

Fixes gh-3189
2019-08-06 13:46:08 -05:00
kostya05983
7542d59364 Fix docs typo WebSecurityConfigurationAdapter->WebSecurityConfigurerAdapter
Fixes gh-7026
2019-08-06 13:08:19 -05:00
Josh Cummings
83b7d7d461
Update to 5.1.7.BUILD-SNAPSHOT 2019-08-05 17:47:15 -06:00
Josh Cummings
17b48b0b60
Next Development Version 2019-08-05 17:43:50 -06:00
Josh Cummings
f3cdd44350
Release 5.1.6.RELEASE 5.1.6.RELEASE 2019-08-05 17:22:17 -06:00
Josh Cummings
404ad9ab45
Remove BlockHound dependency
Since it is not yet GA

Fixes gh-7220
2019-08-05 17:21:26 -06:00
Josh Cummings
23d06534e0
Revert "Release 5.1.6.RELEASE"
This reverts commit 6712ab50568e1d21be6cbd36bbd85164c358c5ad.
2019-08-05 17:01:26 -06:00
Josh Cummings
6712ab5056
Release 5.1.6.RELEASE 2019-08-05 15:56:30 -06:00
Josh Cummings
80c747b672
Update to jython 2.5.3
Fixes gh-7216
2019-08-05 15:43:44 -06:00
Josh Cummings
f48e26d051
Update to Spring Boot 2.1.6.RELEASE
Fixes gh-7215
2019-08-05 14:42:38 -06:00
Josh Cummings
25d7392e13
Update to jetty 9.4.19.v20190610
Fixes: gh-7210
2019-08-05 14:42:00 -06:00
Josh Cummings
e7f0bdd5bb
Update to groovy 2.4.17
Fixes gh-7209
2019-08-05 14:39:09 -06:00
Josh Cummings
f6c7c29c46
Update to jaxb-impl 2.3.2
Fixes gh-7202
2019-08-05 14:37:45 -06:00
Josh Cummings
9146725fdc
Update to powermock 2.0.2
Fixes gh-7214
2019-08-05 13:33:05 -06:00
Josh Cummings
536587e58d
Update to hibernate-validator 6.0.17.Final
Fixes gh-7212
2019-08-05 13:31:23 -06:00
Josh Cummings
115a240ba0
Update to hibernate-entitymanager 5.3.10.Final
Fixes gh-7211
2019-08-05 13:30:50 -06:00
Josh Cummings
e6765b0c4e
Update to bcpkix-jdk15on 1.62
Fixes gh-7208
2019-08-05 13:29:19 -06:00
Josh Cummings
a05ec35a33
Update to httpclient 4.5.9
Fixes gh-7207
2019-08-05 13:28:36 -06:00
Josh Cummings
75f46cfe83
Update to unboundid-ldapsdk 4.0.11
Fixes gh-7203
2019-08-05 13:27:04 -06:00
Josh Cummings
b2e8ffde4f
Update to mockwebserver 3.12.3
Fixes gh-7201
2019-08-05 13:26:00 -06:00
Josh Cummings
ad626f5f8c
Update to appengine 1.9.76
Fixes gh-7200
2019-08-05 13:24:55 -06:00
Josh Cummings
900f082350
Update to jackson-annotations and -core 2.9.9
Fixes gh-7217
2019-08-05 13:22:43 -06:00
Josh Cummings
382177e9b5
Update to jackson-databind 2.9.9.2
Fixes gh-7199
2019-08-05 13:22:43 -06:00
Josh Cummings
7fa60c9b4e
Update to cglib-nodep 3.2.12
Fixes gh-7198
2019-08-05 13:22:35 -06:00
Josh Cummings
ecc66e9c75
Update to Spring Data Lovelace-SR9
Fixes gh-7206
2019-08-05 13:15:35 -06:00
Josh Cummings
494bc52014
Update to Reactor Californium-SR10
Fixes gh-7204
2019-08-05 13:14:51 -06:00
Josh Cummings
252ec584b3
Update to Spring Framework 5.1.9.RELEASE
Fixes gh-7205
2019-08-05 13:13:51 -06:00