Rob Winch
a79a2b031a
Remove MockWebServer from JwtIssuerAuthenticationManagerResolverTests
...
This prevents timeouts on GitHub Windows runners due to overtaxed
systems.
Closes gh-17869
3 months ago
Rob Winch
392129b616
Use 2004-present Copyright Header
...
The Spring portfolio is changing to use <inception-year>-present in
the copyright headers to simplify keeping headers up to date. This
commit updates the headers and the checkstyle accordingly.
The commit updated etc/checkstyle/header.txt
It also updated the copyright headers using the following find/replace:
Find: (Copyright \d{4})\s*(\-\d{4})? the original author or authors.
Replace: Copyright 2004-present the original author or authors.
Closes gh-17633
5 months ago
Josh Cummings
f631a0fcd5
Polish ClientRegistrationsTests
...
Simplified the assertion so that it is focused on the core
behavior being verified. This will likely also make the test
more stable when updating Spring Framework versions.
Issue gh-16860
8 months ago
Evgeniy Cheban
0e84f31a00
Add ClientRegistration's RestClient failed attempts information to exception message
...
Closes gh-16860
Signed-off-by: Evgeniy Cheban <mister.cheban@gmail.com>
8 months ago
Steve Riesenberg
3c0fef59b5
Polish gh-16039
...
Closes gh-16038
8 months ago
Jonah Klöckner
da94fbe431
Evaluate URI query parameter only if enabled
...
Issue gh-16038
8 months ago
Tran Ngoc Nhan
a53ca7c3d0
Update ServerOAuth2AuthorizedClientExchangeFilterFunction javadoc
...
Closes gh-16555
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
9 months ago
Rob Winch
adb303e152
Add testRuntimeOnly junit-platform-launcher
...
Closes gh-16755
9 months ago
Pat McCusker
2bd3cadde8
Use possessive pronoun rather contraction
...
Signed-off-by: Pat McCusker <patmccusker14@gmail.com>
10 months ago
Pat McCusker
bfce6e438d
Add fourth oauth grant type to javadoc
...
Signed-off-by: Pat McCusker <patmccusker14@gmail.com>
10 months ago
Josh Cummings
244fd2eb51
Support Serialization in Exceptions
...
Issue gh-16276
11 months ago
Josh Cummings
8735368d9e
Don't Support Serialization of Jackson Modules
...
Issu gh-16276
11 months ago
Josh Cummings
018e1ae1a4
Added Serialization Values
...
Issue gh-16276
1 year ago
Josh Cummings
b9911fd522
Add serialVersionUID to Authentication classes
...
Issue gh-16276
1 year ago
Tran Ngoc Nhan
39cd8d9faf
Update copyright headers
1 year ago
Steve Riesenberg
0eb6acde96
Polish gh-16133
1 year ago
Kai Zander
73f3f75712
Always return current ClientRegistration in `loadAuthorizedClient`
...
This changes `InMemoryOAuth2AuthorizedClientService.loadAuthorizedClient`
(and its reactive counterpart) to always return `OAuth2AuthorizedClient`
instances containing the current `ClientRegistration` as obtained from
the `ClientRegistrationRepository`.
Before this change, the first `ClientRegistration` instance was cached,
with the effect that any changes made in the `ClientRegistrationRepository`
(such as a new client secret) would not have taken effect.
Closes gh-15511
1 year ago
Joe Grandja
a8c4d6cead
Require Locale argument for toLower/toUpperCase usage
1 year ago
Joe Grandja
a7bf8f7cc6
Require Locale argument for toLower/toUpperCase usage
1 year ago
Joe Grandja
0eaffb37e7
Require Locale argument for toLower/toUpperCase usage
1 year ago
Steve Riesenberg
ca1f891f25
Polish gh-15937
1 year ago
Davide Colazingari
aec5afb6eb
Fix assertions in NimbusReactiveJwtDecoderTests
1 year ago
Steve Riesenberg
86f3cd6dc7
Polish gh-15940
...
Closes gh-15885
1 year ago
Hyeongi Jeong
4c6fef82b9
Fix error when Bearer token is requested with empty string
...
Issue gh-15885
1 year ago
Tran Ngoc Nhan
ab93541926
Simplify condition in some methods
1 year ago
Tran Ngoc Nhan
e76de931ce
Polish Optional usage
1 year ago
Tran Ngoc Nhan
ffed4ea1dc
Polish diamond usage
1 year ago
Josh Cummings
8a972917fa
Deprecate Nimbus(Reactive)OpaqueTokenIntrospector
...
Issue gh-14245
1 year ago
Steve Riesenberg
dab6950231
Move parametersCustomizer
...
The parametersCustomizer was introduced in 6.4.0-M4 with
DefaultOAuth2TokenRequestParametersConverter. However, it cannot be
applied to all parameters and so does not fully solve gh-11298.
This commit moves the customizer to the abstract class so it can be
applied to all parameters.
Closes gh-15939
1 year ago
Tran Ngoc Nhan
31f8caec5f
Polish diamond operator usage
1 year ago
Giovanni Lovato
a3fd551fb5
Add ClientRegistrations.fromOidcConfiguration method
...
ClientRegistrations now provides the fromOidcConfiguration
method to create a ClientRegistration.Builder from a map
representation of an OpenID Provider Configuration Response.
This is useful when the OpenID Provider Configuration is not
available at a well-known location, or if custom validation
is needed for the issuer location (e.g. if the issuer is only
reachable via a back-channel URI that is different from the
issuer value in the configuration).
Fixes: gh-14633
1 year ago
Steve Riesenberg
f5991ae176
Allow access token request parameters to override defaults
...
Closes gh-11298
1 year ago
Steve Riesenberg
9ba2435cb2
Support refresh token for Token Exchange
...
Closes gh-15534
1 year ago
Steve Riesenberg
e11c188122
Customize the strategy for resolving the principal
...
Closes gh-15826
1 year ago
Thomas Darimont
b06c40d9ef
Add ExpressionJwtGrantedAuthoritiesConverter to extract authorities with an expression
...
This helps to reduce custom code necessary to extract roles from deeply
nested claims.
Closes #15201
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
1 year ago
Steve Riesenberg
7b7a3044cf
Polish gh-15533
1 year ago
陈圳佳
8a791028b1
Fix array values of additionalParameters
...
Closes gh-15468
1 year ago
Steve Riesenberg
42d9f146d2
Polish gh-15533
1 year ago
陈圳佳
24dbc5de53
Fix array values of additionalParameters
...
Closes gh-15468
1 year ago
Steve Riesenberg
c1a303bc92
Add tests for overriding parameters
...
Issue gh-15298
Issue gh-11298
1 year ago
Steve Riesenberg
5d8cf6a8bc
Polish gh-13588
1 year ago
Tran Ngoc Nhan
2c9c309d7f
Provide Casting for ReactiveJwtDecoder
...
Closes gh-15773
1 year ago
Steve Riesenberg
63f018eb18
Update tests using deprecated classes
...
Issue gh-15737
1 year ago
Steve Riesenberg
7490a8162b
Deprecate default OAuth2AccessTokenResponseClients
...
Closes gh-15737
1 year ago
Steve Riesenberg
2cead9b73f
Add RestClient implementations
...
Issue gh-15298
1 year ago
Daniel Garnier-Moiroux
79fb0113c8
Bump io-spring-javaformat from 0.0.42 to 0.0.43
...
Bumps `io-spring-javaformat` from 0.0.42 to 0.0.43.
Updates `io.spring.javaformat:spring-javaformat-checkstyle` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
Updates `io.spring.javaformat:spring-javaformat-gradle-plugin` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-checkstyle
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: io.spring.javaformat:spring-javaformat-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
---
Manual updates:
- Adhere to rule where `@Deprecated` annotations and `@deprecated` javadoc comments MUST
be used together
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Daniel Garnier-Moiroux
2caf1fb6b4
Bump io-spring-javaformat from 0.0.42 to 0.0.43
...
Bumps `io-spring-javaformat` from 0.0.42 to 0.0.43.
Updates `io.spring.javaformat:spring-javaformat-checkstyle` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
Updates `io.spring.javaformat:spring-javaformat-gradle-plugin` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-checkstyle
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: io.spring.javaformat:spring-javaformat-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
---
Manual updates:
- Adhere to rule where `@Deprecated` annotations and `@deprecated` javadoc comments MUST
be used together
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Steve Riesenberg
e3c19ba86c
Add RestClient interceptor
...
Closes gh-13588
1 year ago
Josh Cummings
5c1a108b8b
Remove Stray JavaDoc Statement
...
As of the 5.2 release, a separate registrar bean was no longer necessary
Closes gh-15425
1 year ago
Josh Cummings
df76537470
Update Formatting
...
Issue gh-15338
1 year ago