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, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.web.context.ServletContextAware
public class DefaultLoginPageGeneratingFilter
- extends org.springframework.web.filter.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
Fields inherited from class org.springframework.web.filter.GenericFilterBean |
logger |
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 java.lang.String DEFAULT_LOGIN_PAGE_URL
- See Also:
- Constant Field Values
ERROR_PARAMETER_NAME
public static final java.lang.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 java.io.IOException,
javax.servlet.ServletException
- Throws:
java.io.IOException
javax.servlet.ServletException