Commit e7e0ac0
committed
Remove hard dependency on Jackson in OAuth 2 support
It's possible to override the token parsing method, to avoid
using Jackson, but the class would have a Jackson mapper
in its properties.
This commit introduces an abstraction to parse the token and
the default Jackson implementation is instantianted on the
fly.
(cherry picked from commit c0811fa)
Conflicts:
src/main/java/com/rabbitmq/client/impl/OAuth2ClientCredentialsGrantCredentialsProvider.java1 parent c2aa506 commit e7e0ac0
File tree
1 file changed
+21
-9
lines changed- src/main/java/com/rabbitmq/client/impl
1 file changed
+21
-9
lines changedLines changed: 21 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
75 | | - | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 219 | + | |
| 220 | + | |
225 | 221 | | |
226 | 222 | | |
227 | 223 | | |
| |||
595 | 591 | | |
596 | 592 | | |
597 | 593 | | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
598 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
599 | 611 | | |
0 commit comments