Class EveryLastLoginAuthenticationProcessorFilter
- java.lang.Object
-
- org.springframework.web.filter.GenericFilterBean
-
- org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
- org.onebusaway.users.impl.authentication.EveryLastLoginAuthenticationProcessorFilter
-
- 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 EveryLastLoginAuthenticationProcessorFilter extends org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
EveryLastLoginAuthenticationProcessorFilter(String defaultFilterProcessesUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.Authentication
attemptAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
org.springframework.security.web.authentication.AuthenticationFailureHandler
getFailureHandler()
org.springframework.security.web.authentication.AuthenticationSuccessHandler
getSuccessHandler()
void
setCurrentUserService(CurrentUserService currentUserService)
void
setFailureHandler(org.springframework.security.web.authentication.AuthenticationFailureHandler failureHandler)
void
setSuccessHandler(org.springframework.security.web.authentication.AuthenticationSuccessHandler successHandler)
-
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
-
-
-
-
Constructor Detail
-
EveryLastLoginAuthenticationProcessorFilter
protected EveryLastLoginAuthenticationProcessorFilter(String defaultFilterProcessesUrl)
-
-
Method Detail
-
setCurrentUserService
@Autowired public void setCurrentUserService(CurrentUserService currentUserService)
-
attemptAuthentication
public org.springframework.security.core.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws org.springframework.security.core.AuthenticationException, IOException, javax.servlet.ServletException
- Specified by:
attemptAuthentication
in classorg.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter
- Throws:
org.springframework.security.core.AuthenticationException
IOException
javax.servlet.ServletException
-
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
-
-