Class VaadinAuthenticationFailureHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationFailureHandler

    public class VaadinAuthenticationFailureHandler
    extends Object
    implements org.springframework.security.web.authentication.AuthenticationFailureHandler
    AuthenticationFailureHandler that provides an appropriate AuthenticationResult.
    • Constructor Detail

      • VaadinAuthenticationFailureHandler

        public VaadinAuthenticationFailureHandler()
    • 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:
        onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
        Throws:
        IOException
        javax.servlet.ServletException
      • getSession

        protected Optional<com.vaadin.flow.server.VaadinSession> getSession​(javax.servlet.http.HttpServletRequest request)