Commit 1a06bd9
committed
Fix classloader isolation, Key Storage integration, and Ed25519 support
- Add withPluginClassLoader wrapper to set thread context classloader
before JGit SSH operations, fixing TranslationBundle loading failures
caused by Rundeck's plugin classloader isolation
- Add ensureEdDSASupport to remove external EdDSA provider on Java 15+,
allowing MINA SSHD to use native JDK Ed25519 support instead of the
external net.i2p.crypto.eddsa which fails across classloader boundaries
- Fix GitResourceModel Key Storage integration: properly obtain
KeyStorageTree from Services with error handling, enabling Resource
Model plugins to read SSH keys and passwords from Rundeck Key Storage
- Replace ExecutionListener-based logging with SLF4J in GitPluginUtil
for reliable logging when ExecutionListener is unavailable
- Clean up log levels: debug for normal operations, warn for errors,
info for one-time configuration events
Made-with: Cursor1 parent c656008 commit 1a06bd9
3 files changed
Lines changed: 89 additions & 30 deletions
File tree
- src/main/groovy/com/rundeck/plugin
- util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| |||
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
29 | 73 | | |
30 | 74 | | |
31 | 75 | | |
| |||
134 | 178 | | |
135 | 179 | | |
136 | 180 | | |
137 | | - | |
| 181 | + | |
138 | 182 | | |
139 | 183 | | |
140 | 184 | | |
| |||
151 | 195 | | |
152 | 196 | | |
153 | 197 | | |
154 | | - | |
| 198 | + | |
155 | 199 | | |
156 | 200 | | |
157 | 201 | | |
| |||
171 | 215 | | |
172 | 216 | | |
173 | 217 | | |
174 | | - | |
| 218 | + | |
175 | 219 | | |
176 | 220 | | |
177 | 221 | | |
| |||
222 | 266 | | |
223 | 267 | | |
224 | 268 | | |
225 | | - | |
| 269 | + | |
226 | 270 | | |
227 | 271 | | |
228 | 272 | | |
229 | 273 | | |
230 | | - | |
| 274 | + | |
231 | 275 | | |
232 | 276 | | |
233 | 277 | | |
234 | 278 | | |
235 | | - | |
| 279 | + | |
236 | 280 | | |
237 | 281 | | |
238 | 282 | | |
| |||
251 | 295 | | |
252 | 296 | | |
253 | 297 | | |
254 | | - | |
| 298 | + | |
255 | 299 | | |
256 | 300 | | |
257 | 301 | | |
| |||
277 | 321 | | |
278 | 322 | | |
279 | 323 | | |
280 | | - | |
| 324 | + | |
281 | 325 | | |
282 | 326 | | |
283 | 327 | | |
| |||
Lines changed: 28 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
| 28 | + | |
| 29 | + | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| |||
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
72 | | - | |
| 76 | + | |
73 | 77 | | |
74 | 78 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
79 | 90 | | |
80 | 91 | | |
81 | | - | |
82 | | - | |
83 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
84 | 96 | | |
85 | 97 | | |
86 | 98 | | |
87 | 99 | | |
88 | 100 | | |
89 | | - | |
90 | | - | |
91 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
92 | 105 | | |
93 | 106 | | |
| 107 | + | |
| 108 | + | |
94 | 109 | | |
| 110 | + | |
| 111 | + | |
95 | 112 | | |
96 | 113 | | |
97 | 114 | | |
| |||
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 86 | + | |
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | 90 | | |
92 | 91 | | |
93 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
94 | 95 | | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
| 96 | + | |
99 | 97 | | |
100 | 98 | | |
101 | 99 | | |
| |||
0 commit comments