Commit 5192cef
committed
refactor(security): replace HandlerInterceptorAdapter with HandlerInterceptor during upgrade of spring boot 3.0.x
Since `org.springframework.web.servlet.handler.HandlerInterceptorAdapter` has been deprecated in springframework 5.3.0 and removed in 6, replacing it with `org.springframework.web.servlet.HandlerInterceptor`.
```
Attached a portion of error logs for reference:
gate/gate-web/src/main/groovy/com/netflix/spinnaker/gate/interceptors/RequestContextInterceptor.java:24: error: cannot find symbol
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
gate/gate-web/src/main/groovy/com/netflix/spinnaker/gate/interceptors/ResponseHeaderInterceptor.java:25: error: cannot find symbol
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;
```
Reference Links:
spring-projects/spring-framework#251471 parent dc54204 commit 5192cef
2 files changed
Lines changed: 8 additions & 8 deletions
File tree
- gate/gate-web/src/main/groovy/com/netflix/spinnaker/gate/interceptors
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | | - | |
23 | | - | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | | - | |
24 | | - | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments