WebAuthnProcessingFilter extends UsernamePasswordAuthenticationFilter { public ServerPropertyProvider getServerPropertyProvider() { return serverPropertyProvider; } WebAuthnProcessingFilter();  WebAuthnProcessingFilter(List<GrantedAuthority> authorities, ServerPropertyProvider serverPropertyProvider); @Override Authentication attemptAuthentication(HttpServletRequest request, HttpServletResponse response); @Override void setPostOnly(boolean postOnly); String getCredentialIdParameter(); void setCredentialIdParameter(String credentialIdParameter); String getClientDataJSONParameter(); void setClientDataJSONParameter(String clientDataJSONParameter); String getAuthenticatorDataParameter(); void setAuthenticatorDataParameter(String authenticatorDataParameter); String getSignatureParameter(); void setSignatureParameter(String signatureParameter); String getClientExtensionsJSONParameter(); void setClientExtensionsJSONParameter(String clientExtensionsJSONParameter); ServerPropertyProvider getServerPropertyProvider(); void setServerPropertyProvider(ServerPropertyProvider serverPropertyProvider); static final String SPRING_SECURITY_FORM_CREDENTIAL_ID_KEY; static final String SPRING_SECURITY_FORM_CLIENT_DATA_JSON_KEY; static final String SPRING_SECURITY_FORM_AUTHENTICATOR_DATA_KEY; static final String SPRING_SECURITY_FORM_SIGNATURE_KEY; static final String SPRING_SECURITY_FORM_CLIENT_EXTENSIONS_JSON_KEY; }
@Test public void constructor_test() { ServerPropertyProvider serverPropertyProvider = mock(ServerPropertyProvider.class); WebAuthnProcessingFilter webAuthnProcessingFilter = new WebAuthnProcessingFilter(AuthorityUtils.NO_AUTHORITIES, serverPropertyProvider); Assertions.assertThat(webAuthnProcessingFilter.getServerPropertyProvider()).isEqualTo(serverPropertyProvider); }