org.onebusaway.users.impl.authentication
Class EveryLastLoginAuthenticationToken

java.lang.Object
  extended by org.springframework.security.providers.AbstractAuthenticationToken
      extended by org.onebusaway.users.impl.authentication.EveryLastLoginAuthenticationToken
All Implemented Interfaces:
Serializable, Principal, org.springframework.security.Authentication

public class EveryLastLoginAuthenticationToken
extends org.springframework.security.providers.AbstractAuthenticationToken
implements Serializable

See Also:
Serialized Form

Constructor Summary
EveryLastLoginAuthenticationToken(String key, Object principal, String credentials, org.springframework.security.GrantedAuthority[] authorities)
           
 
Method Summary
 boolean equals(Object obj)
           
 Object getCredentials()
           
 int getKeyHash()
           
 Object getPrincipal()
           
 
Methods inherited from class org.springframework.security.providers.AbstractAuthenticationToken
getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EveryLastLoginAuthenticationToken

public EveryLastLoginAuthenticationToken(String key,
                                         Object principal,
                                         String credentials,
                                         org.springframework.security.GrantedAuthority[] authorities)
Method Detail

getKeyHash

public int getKeyHash()

getPrincipal

public Object getPrincipal()
Specified by:
getPrincipal in interface org.springframework.security.Authentication

getCredentials

public Object getCredentials()
Specified by:
getCredentials in interface org.springframework.security.Authentication

equals

public boolean equals(Object obj)
Specified by:
equals in interface Principal
Overrides:
equals in class org.springframework.security.providers.AbstractAuthenticationToken


Copyright © 2012 OneBusAway. All Rights Reserved.