Class VaadinAuthenticationFailureHandler
- java.lang.Object
-
- de.codecamp.vaadin.security.spring.authentication.VaadinAuthenticationFailureHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationFailureHandler
public class VaadinAuthenticationFailureHandler extends Object implements org.springframework.security.web.authentication.AuthenticationFailureHandler
AuthenticationFailureHandlerthat provides an appropriateAuthenticationResult.
-
-
Constructor Summary
Constructors Constructor Description VaadinAuthenticationFailureHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Optional<com.vaadin.flow.server.VaadinSession>getSession(javax.servlet.http.HttpServletRequest request)voidonAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
-
-
-
Method Detail
-
onAuthenticationFailure
public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) throws IOException, javax.servlet.ServletException- Specified by:
onAuthenticationFailurein interfaceorg.springframework.security.web.authentication.AuthenticationFailureHandler- Throws:
IOExceptionjavax.servlet.ServletException
-
getSession
protected Optional<com.vaadin.flow.server.VaadinSession> getSession(javax.servlet.http.HttpServletRequest request)
-
-