Class SimpleAuthenticationFailureHandler
java.lang.Object
com.erudika.para.server.security.SimpleAuthenticationFailureHandler
Simple handler for successful authentication requests.
- Author:
- Alex Bogdanovski [[email protected]]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) voidsetAllowSessionCreation(boolean arg0) voidsetDefaultFailureUrl(String arg0) voidsetRedirectStrategy(org.springframework.security.web.RedirectStrategy arg0) voidsetUseForward(boolean arg0)
-
Constructor Details
-
SimpleAuthenticationFailureHandler
public SimpleAuthenticationFailureHandler()
-
-
Method Details
-
onAuthenticationFailure
public void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) throws IOException, jakarta.servlet.ServletException - Throws:
IOExceptionjakarta.servlet.ServletException
-
setDefaultFailureUrl
-
setUseForward
public void setUseForward(boolean arg0) -
setRedirectStrategy
public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy arg0) -
setAllowSessionCreation
public void setAllowSessionCreation(boolean arg0)
-