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:
- 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
- Version:
- $Id: DefaultLoginPageGeneratingFilter.java 4075 2009-12-18 18:44:42Z ltaylor $
- Author:
- Luke Taylor
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(ServletRequest req,
ServletResponse res,
FilterChain chain)
throws IOException,
ServletException
- Throws:
IOException
ServletException
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.