Skip to content

Commit 2b063c1

Browse files
authored
Merge pull request #1139 from webauthn4j/dependabot/gradle/springBootVersion-3.0.3
chore(deps): bump springBootVersion from 2.7.9 to 3.0.3
2 parents f7680f8 + 37b8829 commit 2b063c1

File tree

64 files changed

+108
-134
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+108
-134
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717
strategy:
1818
matrix:
19-
java_version: [8]
19+
java_version: [17]
2020
os: [windows-latest]
2121

2222
steps:
@@ -36,7 +36,7 @@ jobs:
3636
runs-on: ${{ matrix.os }}
3737
strategy:
3838
matrix:
39-
java_version: [8, 11, 17]
39+
java_version: [17]
4040
os: [windows-latest] # , macOS-latest (remove macOS as it is not stable for now) , ubuntu-latest (remove Ubuntu as Chrome 77 doesn't work
4141

4242
steps:
@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ${{ matrix.os }}
5757
strategy:
5858
matrix:
59-
java_version: [11]
59+
java_version: [17]
6060
os: [windows-latest]
6161

6262
steps:

.github/workflows/pr-gate-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ${{ matrix.os }}
99
strategy:
1010
matrix:
11-
java_version: [8]
11+
java_version: [17]
1212
os: [windows-latest]
1313

1414
steps:
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ${{ matrix.os }}
2929
strategy:
3030
matrix:
31-
java_version: [8, 11, 17]
31+
java_version: [17]
3232
os: [windows-latest] # , macOS-latest (remove macOS as it is not stable for now)
3333

3434
steps:
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ${{ matrix.os }}
4949
strategy:
5050
matrix:
51-
java_version: [11]
51+
java_version: [17]
5252
os: [windows-latest]
5353

5454
steps:

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
java_version: [8]
14+
java_version: [17]
1515
os: [windows-latest]
1616

1717
steps:

.github/workflows/snapshot-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ${{ matrix.os }}
1212
strategy:
1313
matrix:
14-
java_version: [8]
14+
java_version: [17]
1515
os: [windows-latest]
1616

1717
steps:

build.gradle

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
buildscript {
1818
ext{
1919
//Plugins
20-
springBootVersion = '2.7.9'
20+
springBootVersion = '3.0.3'
2121
sonarqubeVersion = '3.5.0.2730'
2222
asciidoctorGradleVersion = "3.3.2"
2323
artifactoryVersion = '4.31.7'
@@ -27,7 +27,7 @@ buildscript {
2727

2828
//Libraries
2929
webauthn4jVersion = '0.21.0.RELEASE'
30-
springSecurityVersion = '5.8.2'
30+
springSecurityVersion = '6.0.2'
3131
hibernateValidatorVersion = '6.2.5.Final'
3232
thymeleafVersion = '3.0.4.RELEASE'
3333
modelMapperVersion = '3.1.1'
@@ -45,12 +45,6 @@ buildscript {
4545
// When stable version is released, and Spring Boot BOM includes it, this need to be removed.
4646
seleniumVersion = '4.8.1'
4747

48-
// To make the test pass without errors NoClassDefFoundError in samples/fido-server-conformance-test-app
49-
// There is a compatibility issue between the versions of SLF4J/Logback used by webauthn4j and the versions used by Spring Boot 2.7.x
50-
// There are breaking change in th SLF4J 2.x branche ("SLF4J API version 2.0.0 relies on the ServiceLoader mechanism to find its logging backend"
51-
// and no any more on the StaticLoggerBinder see https://www.slf4j.org/manual.html).
52-
// When upgrading to Spring Boot 3.x branche, this constant will have to be removed.
53-
logbackSpringBoot27xCompatibilityVersion = '1.2.11'
5448
}
5549

5650
repositories {
@@ -235,7 +229,7 @@ configure(sampleAppProjects) {
235229
configure(allJavaProjects) {
236230
apply plugin: 'org.owasp.dependencycheck'
237231

238-
sourceCompatibility = 1.8
232+
sourceCompatibility = 17
239233

240234
tasks.withType(JavaCompile) {
241235
options.compilerArgs << "-Xlint:unchecked"

samples/fido-server-conformance-test-app/build.gradle

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ dependencies {
4040
implementation("org.slf4j:jcl-over-slf4j")
4141
implementation("org.modelmapper:modelmapper")
4242
implementation('org.flywaydb:flyway-core')
43-
//We have to force the use of this dependency
44-
runtimeOnly("ch.qos.logback:logback-classic:$logbackSpringBoot27xCompatibilityVersion"){
45-
force = true
46-
}
4743
runtimeOnly('com.h2database:h2')
4844
runtimeOnly('com.mysql:mysql-connector-j')
4945
runtimeOnly("org.lazyluke:log4jdbc-remix")

samples/fido-server-conformance-test-app/src/main/java/com/webauthn4j/springframework/security/fido/server/endpoint/FidoServerAssertionOptionsEndpointFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
import org.springframework.security.authentication.UsernamePasswordAuthenticationToken;
3030
import org.springframework.util.Assert;
3131

32-
import javax.servlet.http.HttpServletRequest;
32+
import jakarta.servlet.http.HttpServletRequest;
3333
import java.io.IOException;
3434
import java.io.InputStream;
3535
import java.io.UncheckedIOException;

samples/fido-server-conformance-test-app/src/main/java/com/webauthn4j/springframework/security/fido/server/endpoint/FidoServerAssertionResultEndpointFailureHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import org.springframework.security.core.AuthenticationException;
2121
import org.springframework.security.web.authentication.AuthenticationFailureHandler;
2222

23-
import javax.servlet.http.HttpServletRequest;
24-
import javax.servlet.http.HttpServletResponse;
23+
import jakarta.servlet.http.HttpServletRequest;
24+
import jakarta.servlet.http.HttpServletResponse;
2525
import java.io.IOException;
2626

2727
public class FidoServerAssertionResultEndpointFailureHandler implements AuthenticationFailureHandler {

samples/fido-server-conformance-test-app/src/main/java/com/webauthn4j/springframework/security/fido/server/endpoint/FidoServerAssertionResultEndpointFilter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
import org.springframework.security.web.util.matcher.RequestMatcher;
3838
import org.springframework.util.Assert;
3939

40-
import javax.servlet.http.HttpServletRequest;
41-
import javax.servlet.http.HttpServletResponse;
40+
import jakarta.servlet.http.HttpServletRequest;
41+
import jakarta.servlet.http.HttpServletResponse;
4242
import java.io.IOException;
4343
import java.io.InputStream;
4444
import java.io.UncheckedIOException;

samples/fido-server-conformance-test-app/src/main/java/com/webauthn4j/springframework/security/fido/server/endpoint/FidoServerAssertionResultEndpointSuccessHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import org.springframework.security.core.Authentication;
2121
import org.springframework.security.web.authentication.AuthenticationSuccessHandler;
2222

23-
import javax.servlet.http.HttpServletRequest;
24-
import javax.servlet.http.HttpServletResponse;
23+
import jakarta.servlet.http.HttpServletRequest;
24+
import jakarta.servlet.http.HttpServletResponse;
2525
import java.io.IOException;
2626

2727
public class FidoServerAssertionResultEndpointSuccessHandler implements AuthenticationSuccessHandler {

0 commit comments

Comments
 (0)