Commit 92a13c2
committed
Remove unnecessary isExplicitlySet flag
The isExplicitlySet flag was used to ensure that an explicitly configured
authoritiesClaimName is always returned. However, in the current implementation, if the claim is not present in the JWT, no authorities are added regardless of whether the name is explicitly set or not.
Since there is no fallback to other claim names, the presence of this flag does not change the outcome and can be safely removed.
Signed-off-by: chanbinme <[email protected]>1 parent 37c4d4c commit 92a13c2
File tree
1 file changed
+0
-6
lines changed- oauth2/oauth2-resource-server/src/main/java/org/springframework/security/oauth2/server/resource/authentication
1 file changed
+0
-6
lines changedLines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| |||
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
108 | | - | |
109 | 106 | | |
110 | 107 | | |
111 | 108 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 109 | | |
116 | 110 | | |
117 | 111 | | |
| |||
0 commit comments