Class IndexedUserAuthenticationProcessorFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
- org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
-
- org.onebusaway.users.impl.authentication.IndexedUserAuthenticationProcessorFilter
-
- All Implemented Interfaces:
javax.servlet.Filter
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.context.ApplicationEventPublisherAware
,org.springframework.context.EnvironmentAware
,org.springframework.context.MessageSourceAware
,org.springframework.core.env.EnvironmentCapable
,org.springframework.web.context.ServletContextAware
public class IndexedUserAuthenticationProcessorFilter extends org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
-
-
Field Summary
-
Fields inherited from class org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
SPRING_SECURITY_FORM_PASSWORD_KEY, SPRING_SECURITY_FORM_USERNAME_KEY
-
-
Constructor Summary
Constructors Constructor Description IndexedUserAuthenticationProcessorFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.web.authentication.AuthenticationFailureHandler
getFailureHandler()
String
getIndexTypeParameter()
org.springframework.security.web.authentication.AuthenticationSuccessHandler
getSuccessHandler()
protected String
obtainUserIndexType(javax.servlet.http.HttpServletRequest request)
protected String
obtainUsername(javax.servlet.http.HttpServletRequest request)
void
setFailureHandler(org.springframework.security.web.authentication.AuthenticationFailureHandler failureHandler)
void
setIndexTypeParameter(String indexTypeParameter)
void
setSuccessHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler successHandler)
void
setUserService(UserService userService)
-
Methods inherited from class org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
attemptAuthentication, getPasswordParameter, getUsernameParameter, obtainPassword, setDetails, setPasswordParameter, setPostOnly, setUsernameParameter
-
Methods inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
afterPropertiesSet, doFilter, getAllowSessionCreation, getAuthenticationManager, getRememberMeServices, requiresAuthentication, setAllowSessionCreation, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureHandler, setAuthenticationManager, setAuthenticationSuccessHandler, setContinueChainBeforeSuccessfulAuthentication, setFilterProcessesUrl, setMessageSource, setRememberMeServices, setRequiresAuthenticationRequestMatcher, setSessionAuthenticationStrategy, successfulAuthentication, unsuccessfulAuthentication
-
-
-
-
Method Detail
-
setIndexTypeParameter
public void setIndexTypeParameter(String indexTypeParameter)
-
getIndexTypeParameter
public String getIndexTypeParameter()
-
obtainUsername
protected String obtainUsername(javax.servlet.http.HttpServletRequest request)
- Overrides:
obtainUsername
in classorg.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter
-
obtainUserIndexType
protected String obtainUserIndexType(javax.servlet.http.HttpServletRequest request)
-
setUserService
@Autowired public void setUserService(UserService userService)
-
setSuccessHandler
public void setSuccessHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler successHandler)
-
setFailureHandler
public void setFailureHandler(org.springframework.security.web.authentication.AuthenticationFailureHandler failureHandler)
-
getSuccessHandler
public org.springframework.security.web.authentication.AuthenticationSuccessHandler getSuccessHandler()
- Overrides:
getSuccessHandler
in classorg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
getFailureHandler
public org.springframework.security.web.authentication.AuthenticationFailureHandler getFailureHandler()
- Overrides:
getFailureHandler
in classorg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
-