public class

DefaultLoginPageGeneratingFilter

extends GenericFilterBean
java.lang.Object
   ↳ org.springframework.web.filter.GenericFilterBean
     ↳ org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter

Class Overview

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.

Summary

Constants
String DEFAULT_LOGIN_PAGE_URL
String ERROR_PARAMETER_NAME
[Expand]
Inherited Fields
From class org.springframework.web.filter.GenericFilterBean
Public Constructors
DefaultLoginPageGeneratingFilter(AbstractAuthenticationProcessingFilter filter)
DefaultLoginPageGeneratingFilter(UsernamePasswordAuthenticationFilter authFilter, AbstractAuthenticationProcessingFilter openIDFilter)
Public Methods
void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
[Expand]
Inherited Methods
From class org.springframework.web.filter.GenericFilterBean
From class java.lang.Object
From interface javax.servlet.Filter
From interface org.springframework.beans.factory.BeanNameAware
From interface org.springframework.beans.factory.DisposableBean
From interface org.springframework.beans.factory.InitializingBean
From interface org.springframework.web.context.ServletContextAware

Constants

public static final String DEFAULT_LOGIN_PAGE_URL

Constant Value: "/spring_security_login"

public static final String ERROR_PARAMETER_NAME

Constant Value: "login_error"

Public Constructors

public DefaultLoginPageGeneratingFilter (AbstractAuthenticationProcessingFilter filter)

public DefaultLoginPageGeneratingFilter (UsernamePasswordAuthenticationFilter authFilter, AbstractAuthenticationProcessingFilter openIDFilter)

Public Methods

public void doFilter (ServletRequest req, ServletResponse res, FilterChain chain)

Throws
IOException
ServletException