org.onebusaway.users.impl.authentication
Class TokenBasedRememberMeExtendedServices

java.lang.Object
  extended by org.springframework.security.ui.rememberme.AbstractRememberMeServices
      extended by org.springframework.security.ui.rememberme.TokenBasedRememberMeServices
          extended by org.onebusaway.users.impl.authentication.TokenBasedRememberMeExtendedServices
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.security.ui.logout.LogoutHandler, org.springframework.security.ui.rememberme.RememberMeServices

public class TokenBasedRememberMeExtendedServices
extends org.springframework.security.ui.rememberme.TokenBasedRememberMeServices

Extension of TokenBasedRememberMeServices that deals with the fact that the cookie token delimiter might be present in usernames

Author:
bdferris

Field Summary
 
Fields inherited from class org.springframework.security.ui.rememberme.AbstractRememberMeServices
DEFAULT_PARAMETER, logger, messages, SPRING_SECURITY_REMEMBER_ME_COOKIE_KEY
 
Constructor Summary
TokenBasedRememberMeExtendedServices()
           
 
Method Summary
 org.springframework.security.userdetails.UserDetails processAutoLoginCookie(String[] cookieTokens, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.springframework.security.ui.rememberme.TokenBasedRememberMeServices
calculateLoginLifetime, isTokenExpired, makeTokenSignature, onLoginSuccess, retrievePassword, retrieveUserName
 
Methods inherited from class org.springframework.security.ui.rememberme.AbstractRememberMeServices
afterPropertiesSet, autoLogin, cancelCookie, decodeCookie, encodeCookie, getAuthenticationDetailsSource, getCookieName, getKey, getParameter, getTokenValiditySeconds, getUserDetailsService, loginFail, loginSuccess, logout, onLoginFail, rememberMeRequested, setAlwaysRemember, setAuthenticationDetailsSource, setCookie, setCookieName, setKey, setParameter, setTokenValiditySeconds, setUserDetailsService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TokenBasedRememberMeExtendedServices

public TokenBasedRememberMeExtendedServices()
Method Detail

processAutoLoginCookie

public org.springframework.security.userdetails.UserDetails processAutoLoginCookie(String[] cookieTokens,
                                                                                   javax.servlet.http.HttpServletRequest request,
                                                                                   javax.servlet.http.HttpServletResponse response)
Overrides:
processAutoLoginCookie in class org.springframework.security.ui.rememberme.TokenBasedRememberMeServices


Copyright © 2011 OneBusAway. All Rights Reserved.