org.onebusaway.users.impl
Class AutoUserCurrentUserStrategyImpl

java.lang.Object
  extended by org.onebusaway.users.impl.CurrentUserStrategyImpl
      extended by org.onebusaway.users.impl.AutoUserCurrentUserStrategyImpl
All Implemented Interfaces:
CurrentUserStrategy

public class AutoUserCurrentUserStrategyImpl
extends CurrentUserStrategyImpl


Constructor Summary
AutoUserCurrentUserStrategyImpl()
           
 
Method Summary
protected  org.springframework.security.Authentication createAuthentication()
           
 IndexedUserDetails getCurrentUserDetails(boolean createUserIfAppropriate)
           
 void setRememberMeServices(org.springframework.security.ui.rememberme.TokenBasedRememberMeServices rememberMeServices)
           
 void setUserDetailsService(IndexedUserDetailsService userDetailsService)
           
 
Methods inherited from class org.onebusaway.users.impl.CurrentUserStrategyImpl
clearCurrentUser, getCurrentUser, getCurrentUserIndex, getUserDetailsForAuthentication, setAuthoritiesService, setCurrentUser, setUserService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoUserCurrentUserStrategyImpl

public AutoUserCurrentUserStrategyImpl()
Method Detail

setRememberMeServices

public void setRememberMeServices(org.springframework.security.ui.rememberme.TokenBasedRememberMeServices rememberMeServices)

setUserDetailsService

public void setUserDetailsService(IndexedUserDetailsService userDetailsService)

getCurrentUserDetails

public IndexedUserDetails getCurrentUserDetails(boolean createUserIfAppropriate)
Specified by:
getCurrentUserDetails in interface CurrentUserStrategy
Overrides:
getCurrentUserDetails in class CurrentUserStrategyImpl
Returns:

createAuthentication

protected org.springframework.security.Authentication createAuthentication()


Copyright © 2011 OneBusAway. All Rights Reserved.