Class DBAuthProperties
- java.lang.Object
- 
- simpleorm.dataset.SRecordInstance
- 
- com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
- 
- com.inductiveautomation.ignition.gateway.authentication.records.DBAuthProperties
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class DBAuthProperties extends PersistentRecord - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDBAuthProperties.AuthType- 
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstanceSRecordInstance.BrokenOptimisticLockException
 
- 
 - 
Field Summary- 
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordDEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
 
- 
 - 
Constructor SummaryConstructors Constructor Description DBAuthProperties()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconvertToExpert()Converts a pre-7.6 !expert style db auth record to a post-7.6 Manual record.static java.lang.StringcreateAuthQuery(DBAuthProperties props)static java.lang.StringcreateListRolesQuery(DBAuthProperties props)static java.lang.StringcreateListUserRolesQuery(DBAuthProperties props)RecordMeta<DBAuthProperties>getMeta()This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.- 
Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecordgetBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
 - 
Methods inherited from class simpleorm.dataset.SRecordInstanceallFields, 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 Detail- 
METApublic static final RecordMeta<DBAuthProperties> META 
 - 
ProfileIdpublic static final LongField ProfileId 
 - 
Profilepublic static final ReferenceField<UserSourceProfileRecord> Profile 
 - 
DatasourceIdpublic static final LongField DatasourceId 
 - 
Datasourcepublic static final ReferenceField<DatasourceRecord> Datasource 
 - 
Modepublic static final EnumField<DBAuthMode> Mode 
 - 
AutoCreate@Deprecated public static final BooleanField AutoCreate Deprecated.This field is no longer used.
 - 
Expert@Deprecated public static final BooleanField Expert Deprecated.This field is no longer used. It is now used to mark any records that existed before the 7.6 conversion to the enum based mode.
 - 
AuthQuerypublic static final StringField AuthQuery 
 - 
BadgeAuthQuerypublic static final StringField BadgeAuthQuery 
 - 
RoleQuerypublic static final StringField RoleQuery 
 - 
UserRoleQuerypublic static final StringField UserRoleQuery 
 - 
FindUserQuerypublic static final StringField FindUserQuery 
 - 
UserQuerypublic static final StringField UserQuery 
 - 
ContactInfoQuerypublic static final StringField ContactInfoQuery 
 - 
ScheduleAdjustmentQuerypublic static final StringField ScheduleAdjustmentQuery 
 - 
ExtraPropsQuerypublic static final StringField ExtraPropsQuery 
 - 
TableNamePrefixpublic static final StringField TableNamePrefix 
 - 
UserTable@Deprecated public static final StringField UserTable Deprecated.
 - 
UserIdColumn@Deprecated public static final StringField UserIdColumn Deprecated.
 - 
UserNameColumn@Deprecated public static final StringField UserNameColumn Deprecated.
 - 
UserPasswordColumn@Deprecated public static final StringField UserPasswordColumn Deprecated.
 - 
HashFunction@Deprecated public static final StringField HashFunction Deprecated.
 - 
RoleTable@Deprecated public static final StringField RoleTable Deprecated.
 - 
RoleIdColumn@Deprecated public static final StringField RoleIdColumn Deprecated.
 - 
RoleNameColumn@Deprecated public static final StringField RoleNameColumn Deprecated.
 - 
MappingTable@Deprecated public static final StringField MappingTable Deprecated.
 - 
MappingRoleIdColumn@Deprecated public static final StringField MappingRoleIdColumn Deprecated.
 - 
MappingUserIdColumn@Deprecated public static final StringField MappingUserIdColumn Deprecated.
 - 
EXTENSION_POINT_TYPEpublic static final java.lang.String EXTENSION_POINT_TYPE - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createListRolesQuerypublic static java.lang.String createListRolesQuery(DBAuthProperties props) 
 - 
createAuthQuerypublic static java.lang.String createAuthQuery(DBAuthProperties props) 
 - 
createListUserRolesQuerypublic static java.lang.String createListUserRolesQuery(DBAuthProperties props) 
 - 
getMetapublic RecordMeta<DBAuthProperties> 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 class- PersistentRecord
 
 - 
convertToExpertpublic void convertToExpert() Converts a pre-7.6 !expert style db auth record to a post-7.6 Manual record.
 
- 
 
-