Skip to content

Commit c5ccff6

Browse files
committed
Fjerner workarounds
1 parent 0a98fc6 commit c5ccff6

File tree

2 files changed

+3
-26
lines changed

2 files changed

+3
-26
lines changed

apps/etterlatte-proxy/build.gradle.kts

+1-15
Original file line numberDiff line numberDiff line change
@@ -23,23 +23,9 @@ dependencies {
2323
implementation(libs.cxf.logging)
2424
implementation(libs.cxf.jax.ws)
2525
implementation(libs.cxf.transports.http)
26-
implementation(libs.cxf.ws.security) {
27-
exclude("com.google.guava:guava")
28-
exclude("org.bouncycastle:bcpkix-jdk18on")
29-
exclude("org.bouncycastle:bcprov-jdk18on")
30-
exclude("org.eclipse.angus:angus-core")
31-
exclude("org.eclipse.angus:angus-mail")
32-
}
26+
implementation(libs.cxf.ws.security)
3327
implementation(libs.micrometer.prometheus)
3428

3529
testImplementation(libs.mockOauth2Server)
3630
testImplementation(libs.ktor.serverTests)
37-
38-
// Avhengigheter fra patching av sårbarheter i Apache CXF.
39-
// Vi bør kunne ta bort alle disse og exclude-lista for neste CXF-versjon
40-
implementation(libs.guava)
41-
implementation(libs.bcpkix)
42-
implementation(libs.bcprov)
43-
implementation(libs.angus.core)
44-
implementation(libs.angus.mail)
4531
}

gradle/libs.versions.toml

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
[versions]
22
ktor-version = "2.3.13"
33
jupiter-version = "5.11.4"
4-
cxf-version = "4.1.0" # Obs: Når vi oppgraderer denne, bør vi også kunne rydde bort guava og guava-workarounden
5-
bcpkix-version = "1.80"
6-
angus-version = "1.1.0"
4+
cxf-version = "4.1.0"
75
jackson-version = "2.18.2"
86

97
[libraries]
@@ -59,11 +57,4 @@ test-kotest-assertionscore = { module = "io.kotest:kotest-assertions-core", vers
5957
cxf-logging = { module = "org.apache.cxf:cxf-rt-features-logging", version.ref = "cxf-version" }
6058
cxf-jax-ws = { module = "org.apache.cxf:cxf-rt-frontend-jaxws", version.ref = "cxf-version" }
6159
cxf-transports-http = { module = "org.apache.cxf:cxf-rt-transports-http", version.ref = "cxf-version" }
62-
cxf-ws-security = { module = "org.apache.cxf:cxf-rt-ws-security", version.ref = "cxf-version" }
63-
64-
#Cxf-workarounds
65-
guava = { module = "com.google.guava:guava", version = "33.4.0-jre"} # workaround for å omgå https://github.com/google/guava/issues/6657
66-
bcpkix = { module = "org.bouncycastle:bcpkix-jdk18on", version.ref = "bcpkix-version"}
67-
bcprov = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bcpkix-version"}
68-
angus-core = { module = "org.eclipse.angus:angus-core", version.ref="angus-version"}
69-
angus-mail = { module = "org.eclipse.angus:angus-mail", version.ref="angus-version"}
60+
cxf-ws-security = { module = "org.apache.cxf:cxf-rt-ws-security", version.ref = "cxf-version" }

0 commit comments

Comments
 (0)