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 booleanequals(Object o)StringgetId()StringgetProfileId()StringgetTenant()DategetTimestamp()StringgetToken()inthashCode()voidsetId(String id)voidsetProfileId(String profileId)voidsetTenant(String tenant)voidsetTimestamp(Date timestamp)voidsetToken(String token)StringtoString()
-
-
-
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)
-
-