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 Details

    • PersistentLogin

      public PersistentLogin()
  • Method Details

    • 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)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object