|
|
|
|
@ -27,6 +27,7 @@ import org.springframework.security.web.access.expression.WebSecurityExpressionR
@@ -27,6 +27,7 @@ import org.springframework.security.web.access.expression.WebSecurityExpressionR
|
|
|
|
|
* {@link RuntimeHintsRegistrar} for WebMVC classes |
|
|
|
|
* |
|
|
|
|
* @author Marcus Da Coregio |
|
|
|
|
* @author Daniel Garnier-Moiroux |
|
|
|
|
* @since 6.0 |
|
|
|
|
*/ |
|
|
|
|
class WebMvcSecurityRuntimeHints implements RuntimeHintsRegistrar { |
|
|
|
|
@ -47,6 +48,12 @@ class WebMvcSecurityRuntimeHints implements RuntimeHintsRegistrar {
@@ -47,6 +48,12 @@ class WebMvcSecurityRuntimeHints implements RuntimeHintsRegistrar {
|
|
|
|
|
hints.resources().registerResource(css); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
ClassPathResource webauthnJavascript = new ClassPathResource( |
|
|
|
|
"org/springframework/security/spring-security-webauthn.js"); |
|
|
|
|
if (webauthnJavascript.exists()) { |
|
|
|
|
hints.resources().registerResource(webauthnJavascript); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|