org.springframework.security.oauth2.provider.filter
Class OAuth2ExceptionHandlerFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.security.oauth2.provider.filter.OAuth2ExceptionHandlerFilter
- All Implemented Interfaces:
- Filter, Aware, BeanNameAware, DisposableBean, InitializingBean, EnvironmentAware, ServletContextAware
public class OAuth2ExceptionHandlerFilter
- extends GenericFilterBean
Filter for handling OAuth2-specific exceptions.
- Author:
- Ryan Heaton, Dave Syer
| Methods inherited from class org.springframework.web.filter.GenericFilterBean |
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuth2ExceptionHandlerFilter
public OAuth2ExceptionHandlerFilter()
doFilter
public void doFilter(ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException,
ServletException
- Throws:
IOException
ServletException
setProviderExceptionHandler
public void setProviderExceptionHandler(ProviderExceptionHandler providerExceptionHandler)
setExceptionRenderer
public void setExceptionRenderer(OAuth2ExceptionRenderer exceptionRenderer)
Copyright © 2012. All Rights Reserved.