Class VaadinAuthenticationSuccessHandler
- java.lang.Object
-
- de.codecamp.vaadin.security.spring.authentication.VaadinAuthenticationSuccessHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class VaadinAuthenticationSuccessHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
AuthenticationSuccessHandlerthat provides an appropriateAuthenticationResult.
-
-
Constructor Summary
Constructors Constructor Description VaadinAuthenticationSuccessHandler()
-
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)voidonAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)
-
-
-
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:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Throws:
IOExceptionjavax.servlet.ServletException
-
getSession
protected Optional<com.vaadin.flow.server.VaadinSession> getSession(javax.servlet.http.HttpServletRequest request)
-
-