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.AuthenticationFailureHandlergetFailureHandler()StringgetIndexTypeParameter()org.springframework.security.web.authentication.AuthenticationSuccessHandlergetSuccessHandler()protected StringobtainUserIndexType(javax.servlet.http.HttpServletRequest request)protected StringobtainUsername(javax.servlet.http.HttpServletRequest request)voidsetFailureHandler(org.springframework.security.web.authentication.AuthenticationFailureHandler failureHandler)voidsetIndexTypeParameter(String indexTypeParameter)voidsetSuccessHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler successHandler)voidsetUserService(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, setSecurityContextRepository, 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:
obtainUsernamein 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:
getSuccessHandlerin classorg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
getFailureHandler
public org.springframework.security.web.authentication.AuthenticationFailureHandler getFailureHandler()
- Overrides:
getFailureHandlerin classorg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
-