public class AuthenticationFilter
extends org.springframework.web.filter.GenericFilterBean
| 构造器和说明 |
|---|
AuthenticationFilter() |
AuthenticationFilter(RequestMatcher urlRequestMatcher) |
AuthenticationFilter(String filterProcessesUrl) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
AuthenticationManager |
getAuthenticationManager() |
AuthorizationFailureHandler |
getAuthorizationFailureHandler() |
protected boolean |
isUrlProcessingMatched(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setAuthenticationManager(AuthenticationManager authenticationManager) |
void |
setAuthorizationFailureHandler(AuthorizationFailureHandler authorizationFailureHandler) |
void |
setProcessesUrl(String filterProcessesUrl) |
void |
setUrlRequestMatcher(RequestMatcher urlRequestMatcher) |
public AuthenticationFilter()
public AuthenticationFilter(String filterProcessesUrl)
public AuthenticationFilter(RequestMatcher urlRequestMatcher)
public void setProcessesUrl(String filterProcessesUrl)
public final void setUrlRequestMatcher(RequestMatcher urlRequestMatcher)
public AuthorizationFailureHandler getAuthorizationFailureHandler()
public void setAuthorizationFailureHandler(AuthorizationFailureHandler authorizationFailureHandler)
public AuthenticationManager getAuthenticationManager()
public void setAuthenticationManager(AuthenticationManager authenticationManager)
public final void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletExceptionIOExceptionprotected boolean isUrlProcessingMatched(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public void afterPropertiesSet()
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanafterPropertiesSet 在类中 org.springframework.web.filter.GenericFilterBeanCopyright © 2015. All rights reserved.