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, AuthenticationOptionKey firstFactorAuthnOptionId, AuthenticationOptionKey secondFactorAuthnOptionId, byte[] rememberMeTokenHash, RememberMePolicy rememberMePolicy) -
Method Summary
Modifier and TypeMethodDescriptionlong
static RememberMeToken
getInstanceFromJson
(byte[] json) byte[]
byte[]
void
setEntity
(long entity) void
setFirstFactorAuthnOptionId
(AuthenticationOptionKey firstFactorAuthnOptionId) void
setLoginTime
(Date loginTime) void
setMachineDetails
(RememberMeToken.LoginMachineDetails machineDetails) void
setRememberMePolicy
(RememberMePolicy rememberMePolicy) void
setRememberMeTokenHash
(byte[] rememberMeTokenHash) void
setSecondFactorAuthnOptionId
(AuthenticationOptionKey secondFactorAuthnOptionId)
-
Constructor Details
-
RememberMeToken
public RememberMeToken() -
RememberMeToken
public RememberMeToken(long entity, RememberMeToken.LoginMachineDetails machineDetails, Date loginTime, AuthenticationOptionKey firstFactorAuthnOptionId, AuthenticationOptionKey secondFactorAuthnOptionId, byte[] rememberMeTokenHash, 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
-
setRememberMePolicy
-
getFirstFactorAuthnOptionId
-
setFirstFactorAuthnOptionId
-
getSecondFactorAuthnOptionId
-
setSecondFactorAuthnOptionId
-