Class RememberMeToken

java.lang.Object
pl.edu.icm.unity.engine.api.authn.RememberMeToken

public class RememberMeToken extends Object
Contains information used by remember me functionality
Author:
P.Piernik
  • Constructor Details

    • RememberMeToken

      public RememberMeToken()
    • RememberMeToken

      public RememberMeToken(long entity, RememberMeToken.LoginMachineDetails machineDetails, Date loginTime, pl.edu.icm.unity.base.authn.AuthenticationOptionKey firstFactorAuthnOptionId, pl.edu.icm.unity.base.authn.AuthenticationOptionKey secondFactorAuthnOptionId, byte[] rememberMeTokenHash, pl.edu.icm.unity.base.authn.RememberMePolicy rememberMePolicy)
  • Method Details

    • getInstanceFromJson

      public static RememberMeToken getInstanceFromJson(byte[] json)
    • getSerialized

      public byte[] getSerialized() throws com.fasterxml.jackson.core.JsonProcessingException
      Throws:
      com.fasterxml.jackson.core.JsonProcessingException
    • getEntity

      public long getEntity()
    • setEntity

      public void setEntity(long entity)
    • getMachineDetails

      public RememberMeToken.LoginMachineDetails getMachineDetails()
    • setMachineDetails

      public void setMachineDetails(RememberMeToken.LoginMachineDetails machineDetails)
    • getLoginTime

      public Date getLoginTime()
    • setLoginTime

      public void setLoginTime(Date loginTime)
    • getRememberMeTokenHash

      public byte[] getRememberMeTokenHash()
    • setRememberMeTokenHash

      public void setRememberMeTokenHash(byte[] rememberMeTokenHash)
    • getRememberMePolicy

      public pl.edu.icm.unity.base.authn.RememberMePolicy getRememberMePolicy()
    • setRememberMePolicy

      public void setRememberMePolicy(pl.edu.icm.unity.base.authn.RememberMePolicy rememberMePolicy)
    • getFirstFactorAuthnOptionId

      public pl.edu.icm.unity.base.authn.AuthenticationOptionKey getFirstFactorAuthnOptionId()
    • setFirstFactorAuthnOptionId

      public void setFirstFactorAuthnOptionId(pl.edu.icm.unity.base.authn.AuthenticationOptionKey firstFactorAuthnOptionId)
    • getSecondFactorAuthnOptionId

      public pl.edu.icm.unity.base.authn.AuthenticationOptionKey getSecondFactorAuthnOptionId()
    • setSecondFactorAuthnOptionId

      public void setSecondFactorAuthnOptionId(pl.edu.icm.unity.base.authn.AuthenticationOptionKey secondFactorAuthnOptionId)