Class EveryLastLoginAuthenticationToken
- java.lang.Object
-
- org.springframework.security.authentication.AbstractAuthenticationToken
-
- org.onebusaway.users.impl.authentication.EveryLastLoginAuthenticationToken
-
- All Implemented Interfaces:
Serializable
,Principal
,org.springframework.security.core.Authentication
,org.springframework.security.core.CredentialsContainer
public class EveryLastLoginAuthenticationToken extends org.springframework.security.authentication.AbstractAuthenticationToken implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EveryLastLoginAuthenticationToken(String key, Object principal, String credentials, Collection<org.springframework.security.core.GrantedAuthority> authorities)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Object
getCredentials()
int
getKeyHash()
Object
getPrincipal()
-
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
-
-
-
Constructor Detail
-
EveryLastLoginAuthenticationToken
public EveryLastLoginAuthenticationToken(String key, Object principal, String credentials, Collection<org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Detail
-
getKeyHash
public int getKeyHash()
-
getPrincipal
public Object getPrincipal()
- Specified by:
getPrincipal
in interfaceorg.springframework.security.core.Authentication
-
getCredentials
public Object getCredentials()
- Specified by:
getCredentials
in interfaceorg.springframework.security.core.Authentication
-
-