Skip to content

Commit acea993

Browse files
dependabot[bot]rwinch
authored andcommitted
Bump org.springframework:spring-framework-bom from 7.0.1 to 7.0.2
Bumps [org.springframework:spring-framework-bom](https://github.com/spring-projects/spring-framework) from 7.0.1 to 7.0.2. - [Release notes](https://github.com/spring-projects/spring-framework/releases) - [Commits](spring-projects/spring-framework@v7.0.1...v7.0.2) --- updated-dependencies: - dependency-name: org.springframework:spring-framework-bom dependency-version: 7.0.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
1 parent d5beb51 commit acea993

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ org-jetbrains-kotlin = "2.2.21"
1212
org-jetbrains-kotlinx = "1.10.2"
1313
org-mockito = "5.17.0"
1414
org-opensaml5 = "5.1.6"
15-
org-springframework = "7.0.1"
15+
org-springframework = "7.0.2"
1616
com-password4j = "1.8.4"
1717

1818
[libraries]

webauthn/src/main/java/org/springframework/security/web/webauthn/authentication/WebAuthnAuthenticationFilter.java

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ private GenericHttpMessageConverterAdapter(GenericHttpMessageConverter<T> delega
174174
this.delegate = delegate;
175175
}
176176

177+
@Override
178+
public boolean canRead(ResolvableType type, @Nullable MediaType mediaType) {
179+
Class<?> clazz = type.resolve();
180+
return (clazz != null ? canRead(clazz, mediaType) : canRead(mediaType));
181+
}
182+
177183
@Override
178184
public boolean canRead(Class<?> clazz, @Nullable MediaType mediaType) {
179185
return this.delegate.canRead(clazz, mediaType);
@@ -206,6 +212,12 @@ public T read(ResolvableType type, HttpInputMessage inputMessage, @Nullable Map<
206212
return this.delegate.read(type.getType(), null, inputMessage);
207213
}
208214

215+
@Override
216+
public boolean canWrite(ResolvableType targetType, Class<?> valueClass,
217+
@Nullable MediaType mediaType) {
218+
return this.delegate.canWrite(targetType.getType(), valueClass, mediaType);
219+
}
220+
209221
}
210222

211223
}

0 commit comments

Comments
 (0)