Commit 98f2f41
authored
Feature/as 3018 implement security for rest api (#5)
* AS-3018: Remove extra L from the word enrollment.
* AS-3018: Fix column update_date.
* AS-3018: Call SpringBootServletInitializer's onStartup.
* AS-3018: Override DatabaseCheckHealthValidator so that it works with Postgres.
* AS-3018: Add AadOAuth2ResourceServerSecurityConfig.
* AS-3018: Modify AadOAuth2ResourceServerSecurityConfig.
* AS-3018: Disable security for /checkHealth endpoint.
* AS-3018: Disable logging for CheckHealthEndpointImpl to avoid exception.
* AS-3018: Disable CSRF.
* AS-3018: Fix 401 issue.
* AS-3018: Fix 401 issue.
* AS-3018: Redefine CodeService because of WebADE dependency.
* AS-3018: Redefine BaseEndpointsImpl because of WebADE dependency.
* AS-3018: Redefine CodeTableEndpointsImpl because of WebADE dependency.
* AS-3018: Redefine CodeTableListEndpointsImpl because of WebADE dependency.
* AS-3018: Redefine configs.
* AS-3018: Fix the issue with "invalid_token".1 parent ea66de7 commit 98f2f41
File tree
27 files changed
+1664
-91
lines changed- .github/workflows
- farms-api
- deploy-tools
- farms-api-rest-endpoints
- src/main
- java/ca/bc/gov/farms/api
- rest/v1
- endpoints/impl
- jersey
- spring
- resources
- farms-persistence
- farms-service-api
- src/main/java/ca/bc/gov/farms/service/api/v1
- code
- impl
- spring
- farms-liquibase/scripts/01_00_xx/01_00_00/01
- ddl
- grants
- tables
27 files changed
+1664
-91
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
21 | 25 | | |
22 | | - | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
52 | 70 | | |
53 | 71 | | |
54 | 72 | | |
| |||
Lines changed: 29 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 13 | | |
17 | 14 | | |
18 | | - | |
19 | 15 | | |
20 | 16 | | |
21 | 17 | | |
22 | 18 | | |
23 | 19 | | |
24 | | - | |
25 | | - | |
| 20 | + | |
| 21 | + | |
26 | 22 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
31 | 27 | | |
32 | | - | |
33 | | - | |
34 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
35 | 31 | | |
36 | | - | |
37 | | - | |
| 32 | + | |
| 33 | + | |
38 | 34 | | |
39 | | - | |
40 | | - | |
41 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
42 | 38 | | |
43 | | - | |
| 39 | + | |
44 | 40 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
49 | 45 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
55 | 51 | | |
56 | | - | |
57 | | - | |
| 52 | + | |
| 53 | + | |
58 | 54 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 55 | + | |
62 | 56 | | |
63 | | - | |
| 57 | + | |
64 | 58 | | |
65 | | - | |
| 59 | + | |
66 | 60 | | |
0 commit comments