public class AuthenticationFilter
extends org.springframework.web.filter.GenericFilterBean
implements org.springframework.core.Ordered
| Constructor and Description |
|---|
AuthenticationFilter() |
AuthenticationFilter(RequestMatcher urlRequestMatcher) |
AuthenticationFilter(String filterProcessesUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
AuthorizationFailureHandler |
getAuthorizationFailureHandler() |
int |
getOrder() |
protected boolean |
isUrlProcessingMatched(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setAuthorizationFailureHandler(AuthorizationFailureHandler authorizationFailureHandler) |
void |
setExcludingProcessesUrl(String excludingFilterProcessesUrl) |
void |
setExcludingUrlRequestMatcher(RequestMatcher excludingUrlRequestMatcher) |
void |
setFeatureConfigurer(FeatureConfigurer featureConfigurer) |
void |
setIgnoredProcessesUrl(String ignoreFilterProcessesUrl) |
void |
setIgnoredUrlRequestMatcher(RequestMatcher ignoredUrlRequestMatcher) |
void |
setOrder(int order) |
void |
setProcessesUrl(String filterProcessesUrl) |
void |
setUrlRequestMatcher(RequestMatcher urlRequestMatcher) |
public AuthenticationFilter()
public AuthenticationFilter(String filterProcessesUrl)
public AuthenticationFilter(RequestMatcher urlRequestMatcher)
public void setOrder(int order)
order - the order to setpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setFeatureConfigurer(FeatureConfigurer featureConfigurer)
public void setProcessesUrl(String filterProcessesUrl)
public final void setUrlRequestMatcher(RequestMatcher urlRequestMatcher)
public void setIgnoredProcessesUrl(String ignoreFilterProcessesUrl)
public void setIgnoredUrlRequestMatcher(RequestMatcher ignoredUrlRequestMatcher)
public void setExcludingProcessesUrl(String excludingFilterProcessesUrl)
public void setExcludingUrlRequestMatcher(RequestMatcher excludingUrlRequestMatcher)
public AuthorizationFailureHandler getAuthorizationFailureHandler()
public void setAuthorizationFailureHandler(AuthorizationFailureHandler authorizationFailureHandler)
public final void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws javax.servlet.ServletException,
IOException
doFilter in interface javax.servlet.Filterjavax.servlet.ServletExceptionIOExceptionprotected boolean isUrlProcessingMatched(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanafterPropertiesSet in class org.springframework.web.filter.GenericFilterBeanCopyright © 2018. All rights reserved.