Class UsernamePasswordAuthenticationFilter
java.lang.Object
com.codename1.backend.security.UsernamePasswordAuthenticationFilter
- All Implemented Interfaces:
SecurityFilter
Signs a user in from the login form: a POST to the login processing URL
carrying username and password.
On success the chain's SessionSignIn takes over: the session id changes,
the authentication is saved for later requests, and the
AuthenticationSuccessHandler answers -- by default with a redirect to
where the user was going -- unless the chain asks for a second factor first. On failure nothing is
kept and the AuthenticationFailureHandler answers.
-
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.
-
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
-