Class InternalUserRecord
java.lang.Object
simpleorm.dataset.SRecordInstance
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
com.inductiveautomation.ignition.gateway.authentication.records.InternalUserRecord
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringFieldstatic final StringFieldstatic final StringFieldstatic final StringFieldstatic final StringFieldstatic final RecordMeta<InternalUserRecord>static final StringFieldstatic final LongFieldstatic final StringFieldstatic final ReferenceField<UserSourceProfileRecord>static final LongFieldstatic final StringFieldstatic final IdentityFieldstatic final StringFieldFields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancheckPassword(String password) static booleancheckPassword(String password, String hashedPass) RecordMeta<?>getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.longvoidsetPasswordSha256(String password, int maxHistory) Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValuesMethods inherited from class simpleorm.dataset.SRecordInstance
allFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
-
Field Details
-
META
-
UserId
-
ProfileId
-
Profile
-
Username
-
FirstName
-
LastName
-
Schedule
-
Language
-
Password
-
PasswordDate
-
PasswordHistory
-
Description
-
Badge
-
-
Constructor Details
-
InternalUserRecord
public InternalUserRecord()
-
-
Method Details
-
getMeta
Description copied from class:SRecordInstanceThis must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-SRecord getMeta() { return meta; };The actual
metavariable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMetain classPersistentRecord
-
getUserId
public long getUserId() -
getUsername
-
setPasswordSha256
-
getPasswordHistory
-
checkPassword
-
checkPassword
-