Document custom HttpMessageConverter support for WebAuthn
Issue gh-16397
This commit is contained in:
parent
a2abe3c33e
commit
1f9845485c
|
@ -70,6 +70,7 @@ SecurityFilterChain filterChain(HttpSecurity http) {
|
||||||
.allowedOrigins("https://example.com")
|
.allowedOrigins("https://example.com")
|
||||||
// optional properties
|
// optional properties
|
||||||
.creationOptionsRepository(new CustomPublicKeyCredentialCreationOptionsRepository())
|
.creationOptionsRepository(new CustomPublicKeyCredentialCreationOptionsRepository())
|
||||||
|
.messageConverter(new CustomHttpMessageConverter())
|
||||||
);
|
);
|
||||||
return http.build();
|
return http.build();
|
||||||
}
|
}
|
||||||
|
@ -100,6 +101,7 @@ open fun filterChain(http: HttpSecurity): SecurityFilterChain {
|
||||||
allowedOrigins = setOf("https://example.com")
|
allowedOrigins = setOf("https://example.com")
|
||||||
// optional properties
|
// optional properties
|
||||||
creationOptionsRepository = CustomPublicKeyCredentialCreationOptionsRepository()
|
creationOptionsRepository = CustomPublicKeyCredentialCreationOptionsRepository()
|
||||||
|
messageConverter = CustomHttpMessageConverter()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,4 +17,5 @@ Note that this may affect reports that operate on this key name.
|
||||||
|
|
||||||
== WebAuthn
|
== WebAuthn
|
||||||
|
|
||||||
|
* https://github.com/spring-projects/spring-security/pull/16397[gh-16397] - Added the ability to configure a custom `HttpMessageConverter` for Passkeys using the optional xref:servlet/authentication/passkeys.adoc#passkeys-configuration[`messageConverter` property] on the `webAuthn` DSL.
|
||||||
* https://github.com/spring-projects/spring-security/pull/16396[gh-16396] - Added the ability to configure a custom xref:servlet/authentication/passkeys.adoc#passkeys-configuration-pkccor[`PublicKeyCredentialCreationOptionsRepository`]
|
* https://github.com/spring-projects/spring-security/pull/16396[gh-16396] - Added the ability to configure a custom xref:servlet/authentication/passkeys.adoc#passkeys-configuration-pkccor[`PublicKeyCredentialCreationOptionsRepository`]
|
||||||
|
|
Loading…
Reference in New Issue