Package org.craftercms.profile.api
Class PersistentLogin
- java.lang.Object
-
- org.craftercms.profile.api.PersistentLogin
-
public class PersistentLogin extends Object
Represents a persistent authentication or login, triggered by remember me functionality. The login information stored is basically the one proposed in Improved Persistent Login Cookie Best Practice. The ID is basically the login series identifier.- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description PersistentLogin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getId()
String
getProfileId()
String
getTenant()
Date
getTimestamp()
String
getToken()
int
hashCode()
void
setId(String id)
void
setProfileId(String profileId)
void
setTenant(String tenant)
void
setTimestamp(Date timestamp)
void
setToken(String token)
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getTenant
public String getTenant()
-
setTenant
public void setTenant(String tenant)
-
getProfileId
public String getProfileId()
-
setProfileId
public void setProfileId(String profileId)
-
getToken
public String getToken()
-
setToken
public void setToken(String token)
-
getTimestamp
public Date getTimestamp()
-
setTimestamp
public void setTimestamp(Date timestamp)
-
-