public class RestfulAuthenticationFailureHandler extends Object implements org.springframework.security.web.authentication.AuthenticationFailureHandler
Created by zhanghaolun on 16/6/28.
Constructor and Description |
---|
RestfulAuthenticationFailureHandler() |
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException authException) |
static RestfulAuthenticationFailureHandler |
restfulFailureHandler(cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler) |
public static RestfulAuthenticationFailureHandler restfulFailureHandler(cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler)
public void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws IOException, javax.servlet.ServletException
onAuthenticationFailure
in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
IOException
javax.servlet.ServletException
Copyright © 2017. All rights reserved.