8732 Commits

Author SHA1 Message Date
Marcus Da Coregio
01c1c192d1 Release 5.3.10.RELEASE 5.3.10.RELEASE 2021-06-22 09:38:32 -03:00
Marcus Da Coregio
eb300c78bd Lock Dependencies 2021-06-21 09:23:19 -03:00
Eleftheria Stein
442c9cbf38 Disable default logout page when logout disabled
Closes gh-9475
2021-06-18 10:31:50 +02:00
Christian Frommeyer
7cf538cba6
Replace StringUtils from oauth2-oidc-sdk
SecurityMockServerConfigurers.java previously used the StringUtils from
the optional oauth2-oidc-sdk dependency. Replacing this with the
StringUtils from the spring framework this should not force adding the
dependency in cases where it is not actually used.

Closes gh-9923
2021-06-16 14:15:14 -06:00
Steve Riesenberg
b6ae11295f Commit missing compile fix from cherry-pick conflict 2021-06-15 12:10:06 -05:00
Steve Riesenberg
ee9c8e2fd0 Store one request by default in WebSessionOAuth2ServerAuthorizationRequestRepository
Related to gh-9649
Closes gh-9857
2021-06-15 12:06:22 -05:00
Marcus Hert da Coregio
e16b88c9d5 Fix Adding Filter Relative to Custom Filter
Closes gh-9787
2021-06-14 16:56:33 -03:00
Josh Cummings
0ad2d90a72
Anonymous Authentication Argument Resolution Docs
Closes gh-3338
2021-06-08 16:23:50 -06:00
Josh Cummings
ba9b4d8cc6
Fix Getting Started Link
Closes gh-6502
2021-06-08 13:51:35 -06:00
Josh Cummings
b189e0370a
PayloadInterceptorRSocket retains all payloads
Flux#skip discards its corresponding elements, meaning that they
aren't intended for reuse. When using RSocket's ByteBufPayloads,
this means that the bytes are releaseed back into RSocket's pool.

Since the downstream request may still need the skipped payload,
we should construct the publisher in a different way so as to
avoid the preemptive release.

Deferring Spring JavaFormat to clarify what changed.

Closes gh-9345
2021-06-04 13:45:30 -06:00
Steve Riesenberg
6cafa48369 URL encode client credentials
Closes gh-9610
2021-06-03 09:39:00 -05:00
Eleftheria Stein
5b802a45f5 Fix Resource Server clock skew default value in docs
Closes gh-6611
2021-06-02 12:56:37 +03:00
Josh Cummings
6d816fbf85
Polish postLogoutRedirectUri encoding
Issue gh-9511
2021-05-26 14:38:20 -06:00
Hans Hosea Schaefer
e52b104636
Encode postLogoutRedirectUri query params
Now encodes already encoded queryparameters in postLogoutRedirectUrl
correctly

Closes gh-9511
2021-05-26 14:36:05 -06:00
Marcus Hert da Coregio
02285708eb Adjust createNewSessionIfAllowed to prevent NPE
Ensure that isTransientAuthentication reuses the same authentication object from saveContext

Closes gh-8947
2021-05-26 15:13:55 -03:00
Steve Riesenberg
4f31e42fbc Handle encoded spaces in the root dn
Fixes an issue where provider URLs passed to the constructor of the
DefaultSpringSecurityContextSource can be URL encoded, resulting in
an invalid base dn. Additionally adds support for list constructor
to support spaces in base dn.

Closes gh-9742

# Conflicts:
#	ldap/src/integration-test/java/org/springframework/security/ldap/DefaultSpringSecurityContextSourceTests.java
#	ldap/src/main/java/org/springframework/security/ldap/DefaultSpringSecurityContextSource.java
2021-05-26 12:53:16 -05:00
Steve Riesenberg
22272321f2 Handle custom status codes in error handler
Fixes an issue where custom status codes in the error response cause an
IllegalArgumentException to be thrown when resolving an HttpStatus.

Closes gh-9741
2021-05-25 15:37:37 -05:00
Rob Winch
a4216d0ea5 Additional HttpSessionOAuth2AuthorizationRequestRepository tests
Issue gh-5145
2021-05-13 19:52:00 -04:00
Craig Andrews
b8eee2002f HttpSessionOAuth2AuthorizationRequestRepository: store one request by default
Add setAllowMultipleAuthorizationRequests allowing applications to
revert to the previous functionality should they need to do so.

Closes gh-5145
Intentionally regresses gh-5110
2021-05-13 19:50:47 -04:00
Rob Winch
b1c021ec56 docs.af.pivotal.io->docs-ip.spring.io
Closes gh-9686
2021-04-27 09:52:20 -05:00
kevin
8ab7a27a20
Release ByteBuf
Closes gh-9661
2021-04-26 13:38:00 -06:00
Joe Grandja
c8b6dc390d WebFlux httpBasic() matches on XHR requests
Closes gh-9660
2021-04-20 09:42:08 -04:00
Craig Andrews
a85ce9c91f
Add guard around logger.debug statement
The log message involves string concatenation, the cost of which
should only be incurred if debug logging is enabled

Issue gh-9648
2021-04-16 10:54:10 -06:00
Rob Winch
6c5e92fb0b Fix HttpSecurity.addFilter* Ordering
Closes gh-9633
2021-04-14 21:01:09 -05:00
Denis Washington
d3af4f7354 Limit oauth2Login() links to redirect-based flows
This prevents the generated login page from showing links for
authorization grant types like "client_credentials" which are
not redirect-based, and thus not meant for interactive use in
the browser.

Closes gh-9457
2021-04-14 06:16:43 -04:00
Joe Grandja
a5117506a5 Next Development Version 2021-04-12 14:43:21 -04:00
Joe Grandja
26c6570b10 Revert "Lock Dependencies"
This reverts commit b3250c06a922f74c8d77589b3c9a5768fe345f8c.
2021-04-12 14:42:38 -04:00
Joe Grandja
dd4e8eb36f Release 5.3.9.RELEASE 5.3.9.RELEASE 2021-04-12 14:24:06 -04:00
Joe Grandja
b3250c06a9 Lock Dependencies 2021-04-12 14:19:19 -04:00
Joe Grandja
aa0edfa1c7 Update to Spring Boot 2.2.13
Closes gh-9614
2021-04-12 14:19:01 -04:00
佚名
22d7043d01
Add null check in CsrfFilter and CsrfWebFilter
Solve the problem that CsrfFilter and CsrfWebFilter
throws NPE exception when comparing two byte array
is equal in low JDK version.

When JDK version is lower than 1.8.0_45, method
java.security.MessageDigest#isEqual does not verify
whether the two arrays are null. And the above two
class call this method without null judgment.

ZiQiang Zhao<1694392889@qq.com>

Closes gh-9561
2021-04-09 21:55:30 -06:00
Rob Winch
2009b5faf0 Next Development Version 2021-02-11 13:39:20 -06:00
Rob Winch
71f9876c48 Revert "Lock dependencies"
This reverts commit dca4858d812e2beb1263cac4d85be01416178f3d.
2021-02-11 13:38:50 -06:00
Rob Winch
461f1f6b38 Release 5.3.8.RELEASE 5.3.8.RELEASE 2021-02-11 13:00:32 -06:00
Rob Winch
dca4858d81 Lock dependencies 2021-02-11 13:00:32 -06:00
Rob Winch
419839d05c Optimize HttpSessionSecurityContextRepository
Closes gh-9387
2021-02-11 13:00:31 -06:00
Rob Winch
38e9e8ca52 Optimize HttpSessionSecurityContextRepository
Closes gh-9387
2021-02-11 13:00:31 -06:00
Rob Winch
996ccc08a4 Next Development Version 2021-02-11 09:52:42 -06:00
Rob Winch
ec8f6014d4 Revert "Lock dependencies"
This reverts commit fa5f789bebe26da0e9b49dde0b0563755b43a25d.
2021-02-11 09:51:54 -06:00
Rob Winch
b3815dfc20 Release 5.3.7.RELEASE 5.3.7.RELEASE 2021-02-11 08:54:19 -06:00
Rob Winch
fa5f789beb Lock dependencies 2021-02-11 08:53:40 -06:00
Josh Cummings
87cc4d4519
Fix Test Configuration
- Typo in PlaceholderConfig was causing Windows builds to
resolve the CLASSPATH environment variable

Closes gh-9421
2021-02-10 11:36:44 -07:00
Josh Cummings
10946e8153
Polish Tests
Issue gh-9331
2021-02-03 09:30:27 -07:00
happier233
3cb98ebed0
Configure CurrentSecurityContextArgumentResolver BeanResolver
Closes gh-9331
2021-02-03 09:24:22 -07:00
Joe Grandja
e7acd1219d Allow null or empty authorities for DefaultOAuth2User
Make DefaultOAuth2User more inline with other part of
spring-security.
For example,
- DefaultOAuth2AuthenticatedPrincipal
- AbstractAuthenticationToken

Closes gh-9366
2021-02-02 04:35:39 -05:00
Josh Cummings
84b560919c
Change Example Name
Closes gh-9379
2021-01-28 11:24:19 -07:00
Rob Winch
c23b0da607 Use spring-build-conventions:0.0.37 2021-01-25 20:44:27 -06:00
Benjamin Faal
0f7360e8fa Make user info response status check error only
Closes gh-9336
2021-01-25 10:46:07 -05:00
Josh Cummings
d722ac7757
Fix SAML 2.0 Sample Test
Issue gh-9362
2021-01-22 15:13:02 -07:00
Josh Cummings
2985d805b0
Migrate SAML 2.0 Test and Docs to PCFOne
Issue gh-9362
2021-01-22 15:12:31 -07:00