org.onebusaway.users.impl.authentication
Class EveryLastLoginAuthenticationProcessorFilter

java.lang.Object
  extended by org.springframework.security.ui.SpringSecurityFilter
      extended by org.springframework.security.ui.AbstractProcessingFilter
          extended by org.onebusaway.users.impl.authentication.EveryLastLoginAuthenticationProcessorFilter
All Implemented Interfaces:
javax.servlet.Filter, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.MessageSourceAware, org.springframework.core.Ordered

public class EveryLastLoginAuthenticationProcessorFilter
extends org.springframework.security.ui.AbstractProcessingFilter


Field Summary
 
Fields inherited from class org.springframework.security.ui.AbstractProcessingFilter
authenticationDetailsSource, eventPublisher, messages, SPRING_SECURITY_LAST_EXCEPTION_KEY, SPRING_SECURITY_SAVED_REQUEST_KEY
 
Fields inherited from class org.springframework.security.ui.SpringSecurityFilter
logger
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
EveryLastLoginAuthenticationProcessorFilter()
           
 
Method Summary
 org.springframework.security.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request)
           
protected  String determineFailureUrl(javax.servlet.http.HttpServletRequest request, org.springframework.security.AuthenticationException failed)
           
 String getDefaultFilterProcessesUrl()
           
 int getOrder()
           
 void setCurrentUserService(CurrentUserService currentUserService)
           
 
Methods inherited from class org.springframework.security.ui.AbstractProcessingFilter
afterPropertiesSet, determineTargetUrl, doFilterHttp, getAllowSessionCreation, getAuthenticationDetailsSource, getAuthenticationFailureUrl, getAuthenticationManager, getDefaultTargetUrl, getFilterProcessesUrl, getRememberMeServices, getTargetUrlResolver, obtainFullSavedRequestUrl, onPreAuthentication, onSuccessfulAuthentication, onUnsuccessfulAuthentication, requiresAuthentication, sendRedirect, setAllowSessionCreation, setAlwaysUseDefaultTargetUrl, setApplicationEventPublisher, setAuthenticationDetailsSource, setAuthenticationFailureUrl, setAuthenticationManager, setContinueChainBeforeSuccessfulAuthentication, setDefaultTargetUrl, setExceptionMappings, setFilterProcessesUrl, setInvalidateSessionOnSuccessfulAuthentication, setMessageSource, setMigrateInvalidatedSessionAttributes, setRememberMeServices, setServerSideRedirect, setSessionRegistry, setTargetUrlResolver, setUseRelativeContext, successfulAuthentication, unsuccessfulAuthentication
 
Methods inherited from class org.springframework.security.ui.SpringSecurityFilter
destroy, doFilter, init, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EveryLastLoginAuthenticationProcessorFilter

public EveryLastLoginAuthenticationProcessorFilter()
Method Detail

setCurrentUserService

public void setCurrentUserService(CurrentUserService currentUserService)

attemptAuthentication

public org.springframework.security.Authentication attemptAuthentication(javax.servlet.http.HttpServletRequest request)
                                                                  throws org.springframework.security.AuthenticationException
Specified by:
attemptAuthentication in class org.springframework.security.ui.AbstractProcessingFilter
Throws:
org.springframework.security.AuthenticationException

determineFailureUrl

protected String determineFailureUrl(javax.servlet.http.HttpServletRequest request,
                                     org.springframework.security.AuthenticationException failed)
Overrides:
determineFailureUrl in class org.springframework.security.ui.AbstractProcessingFilter

getDefaultFilterProcessesUrl

public String getDefaultFilterProcessesUrl()
Specified by:
getDefaultFilterProcessesUrl in class org.springframework.security.ui.AbstractProcessingFilter

getOrder

public int getOrder()


Copyright © 2011 OneBusAway. All Rights Reserved.