Class RememberMeToken
java.lang.Object
pl.edu.icm.unity.engine.api.authn.RememberMeToken
Contains information used by remember me functionality
- Author:
- P.Piernik
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionRememberMeToken
(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 Summary
Modifier and TypeMethodDescriptionlong
pl.edu.icm.unity.base.authn.AuthenticationOptionKey
static RememberMeToken
getInstanceFromJson
(byte[] json) pl.edu.icm.unity.base.authn.RememberMePolicy
byte[]
pl.edu.icm.unity.base.authn.AuthenticationOptionKey
byte[]
void
setEntity
(long entity) void
setFirstFactorAuthnOptionId
(pl.edu.icm.unity.base.authn.AuthenticationOptionKey firstFactorAuthnOptionId) void
setLoginTime
(Date loginTime) void
setMachineDetails
(RememberMeToken.LoginMachineDetails machineDetails) void
setRememberMePolicy
(pl.edu.icm.unity.base.authn.RememberMePolicy rememberMePolicy) void
setRememberMeTokenHash
(byte[] rememberMeTokenHash) void
setSecondFactorAuthnOptionId
(pl.edu.icm.unity.base.authn.AuthenticationOptionKey secondFactorAuthnOptionId)
-
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
-
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
-
setMachineDetails
-
getLoginTime
-
setLoginTime
-
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)
-