Class UserSecret
- java.lang.Object
-
- org.molgenis.data.support.StaticEntity
-
- org.molgenis.security.twofactor.model.UserSecret
-
- All Implemented Interfaces:
Entity,org.molgenis.util.i18n.Identifiable
public class UserSecret extends StaticEntity
-
-
Constructor Summary
Constructors Constructor Description UserSecret(String id, EntityType entityType)UserSecret(Entity entity)UserSecret(EntityType entityType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFailedLoginAttempts()StringgetId()InstantgetLastFailedAuthentication()StringgetSecret()StringgetUserId()voidsetFailedLoginAttempts(int failedLoginAttempts)voidsetId(String id)voidsetLastFailedAuthentication(Instant lastFailedAuthentication)voidsetSecret(String secret)voidsetUserId(String userId)-
Methods inherited from class org.molgenis.data.support.StaticEntity
get, getAttributeNames, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getEntityType, getIdValue, getInstant, getInt, getLabelValue, getLocalDate, getLong, getString, init, set, set, setIdValue, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.molgenis.data.Entity
get, getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getInstant, getInt, getLocalDate, getLong, getString, set
-
-
-
-
Constructor Detail
-
UserSecret
public UserSecret(Entity entity)
-
UserSecret
public UserSecret(EntityType entityType)
-
UserSecret
public UserSecret(String id, EntityType entityType)
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getSecret
public String getSecret()
-
setSecret
public void setSecret(String secret)
-
getLastFailedAuthentication
public Instant getLastFailedAuthentication()
-
setLastFailedAuthentication
public void setLastFailedAuthentication(Instant lastFailedAuthentication)
-
getFailedLoginAttempts
public int getFailedLoginAttempts()
-
setFailedLoginAttempts
public void setFailedLoginAttempts(int failedLoginAttempts)
-
-