-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Commit 49f308a
Use Supplier<? extends @nullable Authentication>
Previously Supplier<@nullable Authentication> was used. This prevented
Supplier<Authentication> from being used. The code now uses
Supplier<? extends @nullable Authentication> which allows for both
Supplier<@nullable Authentication> and Supplier<Authentication>.
Closes gh-17814 1 parent 4cbe8de commit 49f308a
File tree
32 files changed
+70
-43
lines changed- config/src
- main
- java/org/springframework/security/config
- method
- websocket
- kotlin/org/springframework/security/config/annotation/web
- test
- java/org/springframework/security/config
- annotation/web/builders
- method
- websocket
- kotlin/org/springframework/security/config/annotation/web
- core/src/main/java/org/springframework/security
- access/expression
- method
- messaging/src/main/java/org/springframework/security/messaging/access
- expression
- intercept
- web/src/main/java/org/springframework/security/web/access
- expression
- intercept
32 files changed
+70
-43
lines changedLines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
23 | + | ||
23 | 24 |
| |
24 | 25 |
| |
25 | 26 |
| |
| |||
37 | 38 |
| |
38 | 39 |
| |
39 | 40 |
| |
40 | - | ||
41 | + | ||
42 | + | ||
41 | 43 |
| |
42 | 44 |
| |
43 | 45 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | + | ||
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
458 | 459 |
| |
459 | 460 |
| |
460 | 461 |
| |
461 | - | ||
462 | + | ||
462 | 463 |
| |
463 | 464 |
| |
464 | 465 |
| |
|
Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | - | ||
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
| |||
235 | 234 |
| |
236 | 235 |
| |
237 | 236 |
| |
238 | - | ||
237 | + | ||
239 | 238 |
| |
240 | 239 |
| |
241 | 240 |
| |
242 | 241 |
| |
243 | 242 |
| |
244 | - | ||
243 | + | ||
245 | 244 |
| |
246 | 245 |
| |
247 | 246 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
28 | + | ||
28 | 29 |
| |
29 | 30 |
| |
30 | 31 |
| |
| |||
310 | 311 |
| |
311 | 312 |
| |
312 | 313 |
| |
313 | - | ||
314 | + | ||
314 | 315 |
| |
315 | 316 |
| |
316 | 317 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
464 | 464 |
| |
465 | 465 |
| |
466 | 466 |
| |
467 | - | ||
467 | + | ||
468 | + | ||
469 | + | ||
468 | 470 |
| |
469 | 471 |
| |
470 | 472 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | + | ||
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| |||
735 | 736 |
| |
736 | 737 |
| |
737 | 738 |
| |
738 | - | ||
739 | + | ||
739 | 740 |
| |
740 | 741 |
| |
741 | 742 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 | - | ||
196 | + | ||
197 | 197 |
| |
198 | 198 |
| |
199 | 199 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 | - | ||
60 | + | ||
61 | + | ||
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 | - | ||
92 | + | ||
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 | - | ||
88 | + | ||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
| |||
104 | 104 |
| |
105 | 105 |
| |
106 | 106 |
| |
107 | - | ||
107 | + | ||
108 | 108 |
| |
109 | 109 |
| |
110 | 110 |
| |
|
0 commit comments