@Component public class LoginFailureHandler extends Object implements org.springframework.security.web.authentication.AuthenticationFailureHandler
LoginAuthProvider
or TokenAuthProvider
in case of authentication
failures. Need to send proper JSON error responses in future.Constructor and Description |
---|
LoginFailureHandler() |
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
org.springframework.security.core.AuthenticationException exception) |
public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, org.springframework.security.core.AuthenticationException exception) throws IOException, javax.servlet.ServletException
onAuthenticationFailure
in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
IOException
javax.servlet.ServletException
Copyright © 2018 Walmart, Inc.. All rights reserved.