275 Commits

Author SHA1 Message Date
Rob Winch
ab629cc1ca
Add AuthorizationGrantType.toString()
This adds AuthorizationGrantType.toString() which makes debuging easier.
In particular, it will help when performing unit tests which validate the
AuthorizationGrantType.

Issue gh-16382
2025-01-17 17:26:47 -06:00
Josh Cummings
6019803064
Merge branch '6.4.x' 2025-01-14 18:38:14 -07:00
Josh Cummings
244fd2eb51
Support Serialization in Exceptions
Issue gh-16276
2025-01-14 18:37:53 -07:00
Steve Riesenberg
6bc6946ad9
Make TokenType constructor public
Closes gh-16086
2024-12-18 16:51:47 -06:00
Steve Riesenberg
a7b6c63442
Polish gh-16087 2024-12-18 16:48:25 -06:00
ThomasKasene
9404aaf010
Added a constant for DPOP in OAuth2AccessToken.TokenType
Issue gh-14915
2024-12-18 16:44:38 -06:00
Josh Cummings
b9911fd522
Add serialVersionUID to Authentication classes
Issue gh-16276
2024-12-13 16:41:32 -07:00
Tran Ngoc Nhan
ab93541926 Simplify condition in some methods 2024-10-25 13:42:33 -07:00
Tran Ngoc Nhan
31f8caec5f Polish diamond operator usage 2024-10-14 11:51:35 -07:00
Steve Riesenberg
42d9f146d2 Polish gh-15533 2024-09-19 16:05:39 -05:00
陈圳佳
24dbc5de53 Fix array values of additionalParameters
Closes gh-15468
2024-09-19 16:05:39 -05:00
Josh Cummings
df76537470 Update Formatting
Issue gh-15338
2024-07-18 16:39:30 -07:00
rio
e69e0eb245 Check for null Name Attribute Value
Closes gh-15338
2024-07-18 16:39:30 -07:00
Steve Riesenberg
3acd2c65d9
Add since 6.4
Issue gh-15012
2024-06-04 13:44:33 -05:00
Steve Riesenberg
7c45ebd81c
Polish gh-15012 2024-06-03 17:02:38 -05:00
Filip Hrisafov
99aee99b34
Expose user name attribute name in OAuth2UserAuthority 2024-06-03 12:30:34 -05:00
Joe Grandja
9a7f1aa4d9 Add ClientAuthenticationMethod constants tls_client_auth and self_signed_tls_client_auth
Closes gh-14889
2024-04-11 15:15:11 -04:00
Steve Riesenberg
0078462e41
Make constant public
Issue gh-5199
2024-03-15 15:27:42 -05:00
Steve Riesenberg
9728f28380
Add additional constants to OAuth2ParameterNames
These additional constants are used for optional parameters in the
Access Token Request for the OAuth 2.0 Token Exchange Grant.

Issue gh-5199
2024-03-15 15:27:42 -05:00
Steve Riesenberg
d2fe9094a9 Add servlet support for OAuth 2.0 Token Exchange Grant
Issue gh-5199
2024-03-06 16:02:58 -06:00
Marcus Hert Da Coregio
acaf9ce7e9 Merge branch '6.1.x' into 6.2.x
Closes gh-14405
2024-01-05 07:53:43 -03:00
Marcus Hert Da Coregio
d032b23ab7 Make OAuth2AuthorizationExchange serializable
Closes gh-14402
2024-01-05 07:53:28 -03:00
Parker Mauney
8e93e4715f Fix typo in getClaimAsMap docstring 2023-11-22 14:02:17 -03:00
Marcus Hert Da Coregio
e3ab1c94d7 Use assertj assertions 2023-11-17 09:04:50 -03:00
Steve Riesenberg
447f40949c
Revert unnecessary merges on 6.1.x
This commit removes unnecessary main-branch merges starting from
9f8db22b774fe78fef3598c07e184c371892c1c7 and adds the following
needed commit(s) that were made afterward:

- 4d6ff49b9d663d0f25454f3704a45c83b35da689
- ed6ff670d102736eea0ac360921c9015151ac630
- c823b007942a04a27d02c0a28bc2ad85e8790084
- 44fad21363bef1b06422be28c9bbfadde5e44804
2023-10-31 15:22:15 -05:00
Steve Riesenberg
9db33f33c7
Revert unnecessary merges on 6.0.x
This commit removes unnecessary main-branch merges starting from
8750608b5bca45525c99d0a41a20ed02de93d8c7 and adds the following
needed commit(s) that were made afterward:

- 5dce82c48bc0b174838501c5a111b2de70822914
2023-10-31 15:11:45 -05:00
Valeriy Vyrva
0e30b923f8 Check for null value with the appropriate assertion method 2023-10-03 08:16:21 -06:00
Josh Cummings
c7ea8c6ac7
Fix Formatting
Issue gh-13654
2023-10-02 17:47:37 -06:00
Josh Cummings
a3227f041c
Polish OAuth2AuthorizationManagers
- Add OAuth2ReactiveAuthorizationManagers
- Code to interfaces
- Align error message with the same in
AuthorityAuthorizationManager
- Adjust expectations in tests to confirm an
appropriately constructed authorizaion manager
- Add JavaDoc and reference documentation

Issue gh-13654
2023-10-02 17:26:06 -06:00
Mario Petrovski
2ee8f27997 Fix imports 2023-10-02 17:23:49 -06:00
Mario Petrovski
97ec5c921e Fix imports in tests 2023-10-02 17:23:49 -06:00
Mario Petrovski
e1db108cb9 Improvements and unit tests. 2023-10-02 17:23:49 -06:00
Mario Petrovski
5e0ea6ce8a Fix formatting 2023-10-02 17:23:49 -06:00
Mario Petrovski
35e5533a4b Fix formatting 2023-10-02 17:23:49 -06:00
Mario Petrovski
e99b37a6cb Fix build 2023-10-02 17:23:49 -06:00
Mario Petrovski
19ae3a765d Make class final 2023-10-02 17:23:49 -06:00
Mario Petrovski
141605cb24 Fix check build issues 2023-10-02 17:23:49 -06:00
Mario Petrovski
926f4a75ba Set the import order correctly 2023-10-02 17:23:49 -06:00
Mario Petrovski
81a708e25f Closes #13754 Add hasScope and hasAnyScope for authorization rules 2023-10-02 17:23:49 -06:00
Marcus Da Coregio
07b6c451fd Merge branch '6.1.x'
Closes gh-13884
2023-09-29 11:47:38 -03:00
Marcus Da Coregio
8adfc9b463 Merge branch '6.0.x' into 6.1.x
Closes gh-13883
2023-09-29 11:46:48 -03:00
Marcus Da Coregio
92c82191c9 Merge branch '5.8.x' into 6.0.x
Closes gh-13882
2023-09-29 11:46:00 -03:00
Marcus Da Coregio
64e2a2ff8b Apply updated Code Style
Closes gh-13881
2023-09-29 11:44:32 -03:00
Josh Cummings
cb33fd7850
Add OIDC Back-Channel Logout Support
Closes gh-12570
2023-09-16 15:12:21 -06:00
Tim te Beek
9df9cb5aed refactor: AssertJ best practices
Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/bGVuS?organizationId=RGVmYXVsdA%3D%3D

Co-authored-by: Moderne <team@moderne.io>
2023-09-12 16:18:14 -06:00
Josh Cummings
a77ef9ecf4
Add ClientAuthenticationMethod#toString
Closes gh-13497
2023-07-12 14:24:26 -06:00
Joe Grandja
55224b58e0 Polish gh-12853 2023-03-20 15:47:00 -04:00
Josh Cummings
a7562ad950
Update io.spring.javaformat to 0.0.38
Closes gh-12891
2023-03-20 10:44:35 -06:00
Steve Riesenberg
8c17b978c8
Add support for device authorization response
Closes gh-12852
2023-03-08 17:07:56 -06:00
luamas
7409d14504 fix javax.json.bind.Jsonb to jakarta.json.bind.Jsonb
Closes gh-12616
2023-02-03 12:30:17 -03:00