public class AuthorizationFilter
extends org.springframework.web.filter.GenericFilterBean
implements org.springframework.core.Ordered
| Constructor and Description |
|---|
AuthorizationFilter() |
AuthorizationFilter(RequestMatcher urlRequestMatcher) |
AuthorizationFilter(String filterProcessesUrl) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
AuthorizationManager |
getAuthorizationManager() |
int |
getOrder() |
protected boolean |
isUrlProcessingMatched(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
setAuthorizationFailureHandler(AuthorizationFailureHandler authorizationFailureHandler) |
void |
setAuthorizationManager(AuthorizationManager authorizationManager) |
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 AuthorizationFilter()
public AuthorizationFilter(String filterProcessesUrl)
public AuthorizationFilter(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 AuthorizationManager getAuthorizationManager()
@Autowired public void setAuthorizationManager(AuthorizationManager authorizationManager)
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.