Class UserSecret

  • All Implemented Interfaces:
    org.molgenis.data.Entity, org.molgenis.util.i18n.Identifiable

    public class UserSecret
    extends org.molgenis.data.support.StaticEntity
    • Constructor Summary

      Constructors 
      Constructor Description
      UserSecret​(java.lang.String id, org.molgenis.data.meta.model.EntityType entityType)  
      UserSecret​(org.molgenis.data.Entity entity)  
      UserSecret​(org.molgenis.data.meta.model.EntityType entityType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getFailedLoginAttempts()  
      java.lang.String getId()  
      java.time.Instant getLastFailedAuthentication()  
      java.lang.String getSecret()  
      java.lang.String getUserId()  
      void setFailedLoginAttempts​(int failedLoginAttempts)  
      void setId​(java.lang.String id)  
      void setLastFailedAuthentication​(java.time.Instant lastFailedAuthentication)  
      void setSecret​(java.lang.String secret)  
      void setUserId​(java.lang.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​(org.molgenis.data.Entity entity)
      • UserSecret

        public UserSecret​(org.molgenis.data.meta.model.EntityType entityType)
      • UserSecret

        public UserSecret​(java.lang.String id,
                          org.molgenis.data.meta.model.EntityType entityType)
    • Method Detail

      • getId

        public java.lang.String getId()
      • setId

        public void setId​(java.lang.String id)
      • getUserId

        public java.lang.String getUserId()
      • setUserId

        public void setUserId​(java.lang.String userId)
      • getSecret

        public java.lang.String getSecret()
      • setSecret

        public void setSecret​(java.lang.String secret)
      • getLastFailedAuthentication

        public java.time.Instant getLastFailedAuthentication()
      • setLastFailedAuthentication

        public void setLastFailedAuthentication​(java.time.Instant lastFailedAuthentication)
      • getFailedLoginAttempts

        public int getFailedLoginAttempts()
      • setFailedLoginAttempts

        public void setFailedLoginAttempts​(int failedLoginAttempts)