Class 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
      • Fields inherited from class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter

        authenticationDetailsSource, eventPublisher, messages
      • Fields inherited from class org.springframework.web.filter.GenericFilterBean

        logger
    • 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
      • Methods inherited from class org.springframework.web.filter.GenericFilterBean

        addRequiredProperty, createEnvironment, destroy, getEnvironment, getFilterConfig, getFilterName, getServletContext, init, initBeanWrapper, initFilterBean, setBeanName, setEnvironment, setServletContext
    • Constructor Detail

      • IndexedUserAuthenticationProcessorFilter

        public IndexedUserAuthenticationProcessorFilter()
    • Method Detail

      • setIndexTypeParameter

        public void setIndexTypeParameter​(String indexTypeParameter)
      • getIndexTypeParameter

        public String getIndexTypeParameter()
      • obtainUsername

        protected String obtainUsername​(javax.servlet.http.HttpServletRequest request)
        Overrides:
        obtainUsername in class org.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 class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
      • getFailureHandler

        public org.springframework.security.web.authentication.AuthenticationFailureHandler getFailureHandler()
        Overrides:
        getFailureHandler in class org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter