public class UsernameStoringAuthenticationFailureHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
Modifier and Type | Field and Description |
---|---|
static String |
LAST_USERNAME_KEY |
Constructor and Description |
---|
UsernameStoringAuthenticationFailureHandler(String usernameParameter) |
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception) |
protected void |
storeUsername(javax.servlet.http.HttpServletRequest request,
String username) |
public static final String LAST_USERNAME_KEY
public UsernameStoringAuthenticationFailureHandler(String usernameParameter)
public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) throws IOException, javax.servlet.ServletException
onAuthenticationFailure
in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
onAuthenticationFailure
in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
IOException
javax.servlet.ServletException
protected void storeUsername(javax.servlet.http.HttpServletRequest request, String username)
Copyright © 2021 Atlassian. All rights reserved.