Class UserSecretMetadata
- java.lang.Object
-
- org.molgenis.data.support.StaticEntity
-
- org.molgenis.data.meta.model.EntityType
-
- org.molgenis.data.meta.SystemEntityType
-
- org.molgenis.security.twofactor.model.UserSecretMetadata
-
- All Implemented Interfaces:
Entity,org.molgenis.util.i18n.Identifiable,org.molgenis.util.i18n.Labeled
@Component public class UserSecretMetadata extends SystemEntityType
User secret key for 2 factor authentication
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.molgenis.data.meta.model.EntityType
EntityType.AttributeCopyMode, EntityType.AttributeRole
-
-
Field Summary
Fields Modifier and Type Field Description static StringFAILED_LOGIN_ATTEMPTSstatic StringIDstatic StringLAST_FAILED_AUTHENICATIONstatic StringSECRETstatic StringUSER_IDstatic StringUSER_SECRET-
Fields inherited from class org.molgenis.data.meta.SystemEntityType
UNIFIED_IDENTIFIER_REGEX, UNIFIED_IDENTIFIER_REGEX_JS
-
-
Constructor Summary
Constructors Constructor Description UserSecretMetadata(SecurityPackage securityPackage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinit()-
Methods inherited from class org.molgenis.data.meta.SystemEntityType
addAttribute, bootstrap, get, getDependencies, getId, getIdValue, getString, isRowLevelSecured, setAttributeFactory, setIdGenerator, setRowLevelSecured
-
Methods inherited from class org.molgenis.data.meta.model.EntityType
addAttribute, addAttributes, addTag, deepCopyAttributes, getAllAttributes, getAtomicAttributes, getAttribute, getAttributeByName, getAttributeNames, getAttributes, getBackend, getDescription, getDescription, getExtends, getIdAttribute, getIndexingDepth, getInversedByAttributes, getLabel, getLabel, getLabelAttribute, getLabelAttribute, getLookupAttribute, getLookupAttributes, getMappedByAttributes, getOwnAllAttributes, getOwnAtomicAttributes, getOwnAttributeById, getOwnAttributes, getOwnIdAttribute, getOwnLabelAttribute, getOwnLabelAttribute, getOwnLookupAttributes, getOwnMappedByAttributes, getPackage, getTags, hasAttributeWithExpression, hasBidirectionalAttributes, hasInversedByAttributes, hasMappedByAttributes, isAbstract, newInstance, newInstance, removeAttribute, removeTag, set, setAbstract, setAttributeRoles, setBackend, setDefaultValues, setDescription, setDescription, setExtends, setId, setIndexingDepth, setLabel, setLabel, setOwnAllAttributes, setPackage, setTags, toString
-
Methods inherited from class org.molgenis.data.support.StaticEntity
getBoolean, getDouble, getEntities, getEntities, getEntity, getEntity, getEntityType, getInstant, getInt, getLabelValue, getLocalDate, getLong, init, set, setIdValue
-
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
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
USER_ID
public static final String USER_ID
- See Also:
- Constant Field Values
-
SECRET
public static final String SECRET
- See Also:
- Constant Field Values
-
LAST_FAILED_AUTHENICATION
public static final String LAST_FAILED_AUTHENICATION
- See Also:
- Constant Field Values
-
FAILED_LOGIN_ATTEMPTS
public static final String FAILED_LOGIN_ATTEMPTS
- See Also:
- Constant Field Values
-
USER_SECRET
public static final String USER_SECRET
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
UserSecretMetadata
public UserSecretMetadata(SecurityPackage securityPackage)
-
-
Method Detail
-
init
public void init()
- Specified by:
initin classSystemEntityType
-
-