org.springframework.security.web.authentication.ui
Class DefaultLoginPageGeneratingFilter
java.lang.Object
org.springframework.web.filter.GenericFilterBean
org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter
- All Implemented Interfaces:
- javax.servlet.Filter, BeanNameAware, DisposableBean, InitializingBean, ServletContextAware
public class DefaultLoginPageGeneratingFilter
- extends GenericFilterBean
For internal use with namespace configuration in the case where a user doesn't configure a login page.
The configuration code will insert this filter in the chain instead.
Will only work if a redirect is used to the login page.
- Since:
- 2.0
Method Summary |
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
|
Methods inherited from class org.springframework.web.filter.GenericFilterBean |
addRequiredProperty, afterPropertiesSet, destroy, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setServletContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_LOGIN_PAGE_URL
public static final String DEFAULT_LOGIN_PAGE_URL
- See Also:
- Constant Field Values
ERROR_PARAMETER_NAME
public static final String ERROR_PARAMETER_NAME
- See Also:
- Constant Field Values
DefaultLoginPageGeneratingFilter
public DefaultLoginPageGeneratingFilter(AbstractAuthenticationProcessingFilter filter)
DefaultLoginPageGeneratingFilter
public DefaultLoginPageGeneratingFilter(UsernamePasswordAuthenticationFilter authFilter,
AbstractAuthenticationProcessingFilter openIDFilter)
doFilter
public void doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Throws:
IOException
javax.servlet.ServletException