public class DefaultLoginPageGeneratingFilter extends GenericFilterBean
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LOGIN_PAGE_URL |
static String |
ERROR_PARAMETER_NAME |
logger
Constructor and Description |
---|
DefaultLoginPageGeneratingFilter() |
DefaultLoginPageGeneratingFilter(AbstractAuthenticationProcessingFilter filter) |
DefaultLoginPageGeneratingFilter(UsernamePasswordAuthenticationFilter authFilter,
AbstractAuthenticationProcessingFilter openIDFilter) |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.ServletRequest req,
javax.servlet.ServletResponse res,
javax.servlet.FilterChain chain) |
String |
getLoginPageUrl() |
boolean |
isEnabled() |
void |
setAuthenticationUrl(String authenticationUrl) |
void |
setFailureUrl(String failureUrl) |
void |
setFormLoginEnabled(boolean formLoginEnabled) |
void |
setLoginPageUrl(String loginPageUrl) |
void |
setLogoutSuccessUrl(String logoutSuccessUrl) |
void |
setOpenIDauthenticationUrl(String openIDauthenticationUrl) |
void |
setOpenIdEnabled(boolean openIdEnabled) |
void |
setOpenIDusernameParameter(String openIDusernameParameter) |
void |
setPasswordParameter(String passwordParameter) |
void |
setRememberMeParameter(String rememberMeParameter) |
void |
setUsernameParameter(String usernameParameter) |
addRequiredProperty, afterPropertiesSet, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
public static final String DEFAULT_LOGIN_PAGE_URL
public static final String ERROR_PARAMETER_NAME
public DefaultLoginPageGeneratingFilter()
public DefaultLoginPageGeneratingFilter(AbstractAuthenticationProcessingFilter filter)
public DefaultLoginPageGeneratingFilter(UsernamePasswordAuthenticationFilter authFilter, AbstractAuthenticationProcessingFilter openIDFilter)
public boolean isEnabled()
public void setLogoutSuccessUrl(String logoutSuccessUrl)
public String getLoginPageUrl()
public void setLoginPageUrl(String loginPageUrl)
public void setFailureUrl(String failureUrl)
public void setFormLoginEnabled(boolean formLoginEnabled)
public void setOpenIdEnabled(boolean openIdEnabled)
public void setAuthenticationUrl(String authenticationUrl)
public void setUsernameParameter(String usernameParameter)
public void setPasswordParameter(String passwordParameter)
public void setRememberMeParameter(String rememberMeParameter)
public void setOpenIDauthenticationUrl(String openIDauthenticationUrl)
public void setOpenIDusernameParameter(String openIDusernameParameter)
public void doFilter(javax.servlet.ServletRequest req, javax.servlet.ServletResponse res, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException