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 Summary
Nested Classes Modifier and Type Class Description static class
DBAuthProperties.AuthType
-
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
-
Constructor Summary
Constructors Constructor Description DBAuthProperties()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
convertToExpert()
Converts a pre-7.6 !expert style db auth record to a post-7.6 Manual record.static java.lang.String
createAuthQuery(DBAuthProperties props)
static java.lang.String
createListRolesQuery(DBAuthProperties props)
static java.lang.String
createListUserRolesQuery(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.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
-
Methods 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 Detail
-
META
public static final RecordMeta<DBAuthProperties> META
-
ProfileId
public static final LongField ProfileId
-
Profile
public static final ReferenceField<UserSourceProfileRecord> Profile
-
DatasourceId
public static final LongField DatasourceId
-
Datasource
public static final ReferenceField<DatasourceRecord> Datasource
-
Mode
public 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.
-
AuthQuery
public static final StringField AuthQuery
-
BadgeAuthQuery
public static final StringField BadgeAuthQuery
-
RoleQuery
public static final StringField RoleQuery
-
UserRoleQuery
public static final StringField UserRoleQuery
-
FindUserQuery
public static final StringField FindUserQuery
-
UserQuery
public static final StringField UserQuery
-
ContactInfoQuery
public static final StringField ContactInfoQuery
-
ScheduleAdjustmentQuery
public static final StringField ScheduleAdjustmentQuery
-
ExtraPropsQuery
public static final StringField ExtraPropsQuery
-
TableNamePrefix
public 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_TYPE
public static final java.lang.String EXTENSION_POINT_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
createListRolesQuery
public static java.lang.String createListRolesQuery(DBAuthProperties props)
-
createAuthQuery
public static java.lang.String createAuthQuery(DBAuthProperties props)
-
createListUserRolesQuery
public static java.lang.String createListUserRolesQuery(DBAuthProperties props)
-
getMeta
public RecordMeta<DBAuthProperties> getMeta()
Description copied from class:SRecordInstance
This 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
meta
variable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMeta
in classPersistentRecord
-
convertToExpert
public void convertToExpert()
Converts a pre-7.6 !expert style db auth record to a post-7.6 Manual record.
-
-