Class VaadinAuthenticationSuccessHandler

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

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

      • VaadinAuthenticationSuccessHandler

        public VaadinAuthenticationSuccessHandler()
    • Method Detail

      • onAuthenticationSuccess

        public void onAuthenticationSuccess​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.Authentication authentication)
                                     throws IOException,
                                            javax.servlet.ServletException
        Specified by:
        onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
        Throws:
        IOException
        javax.servlet.ServletException
      • getSession

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