Class WebAuthnAuthenticationFilter
java.lang.Object
com.codename1.backend.security.WebAuthnAuthenticationFilter
- All Implemented Interfaces:
SecurityFilter
Signs a user in with a passkey: hands out the options of a sign-in at
POST /webauthn/authenticate/options, and takes the authenticator's answer
at POST /login/webauthn.
The options are kept in the session they were asked from, for five minutes unless set otherwise, and are taken out of it before the answer is looked at: a challenge is answered once, in the session it was given to, in time, or not at all.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondoFilter(HttpServer.Request request, FilterChain chain) The answer torequest; null when nothing under the chain routes it, which the server answers 404.
-
Field Details
-
PENDING
-
-
Method Details
-
doFilter
Description copied from interface:SecurityFilterThe answer torequest; null when nothing under the chain routes it, which the server answers 404.- Specified by:
doFilterin interfaceSecurityFilter- Throws:
Exception
-