public class DBAuthProperties extends PersistentRecord
Modifier and Type | Class and Description |
---|---|
static class |
DBAuthProperties.AuthType |
SRecordInstance.BrokenOptimisticLockException
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
Constructor and Description |
---|
DBAuthProperties() |
Modifier and Type | Method and 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.
|
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
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
public static final RecordMeta<DBAuthProperties> META
public static final LongField ProfileId
public static final ReferenceField<UserSourceProfileRecord> Profile
public static final LongField DatasourceId
public static final ReferenceField<DatasourceRecord> Datasource
public static final EnumField<DBAuthMode> Mode
@Deprecated public static final BooleanField AutoCreate
@Deprecated public static final BooleanField Expert
public static final StringField AuthQuery
public static final StringField RoleQuery
public static final StringField UserRoleQuery
public static final StringField UserQuery
public static final StringField ContactInfoQuery
public static final StringField ScheduleAdjustmentQuery
public static final StringField ExtraPropsQuery
public static final StringField TableNamePrefix
@Deprecated public static final StringField UserTable
@Deprecated public static final StringField UserIdColumn
@Deprecated public static final StringField UserNameColumn
@Deprecated public static final StringField UserPasswordColumn
@Deprecated public static final StringField HashFunction
@Deprecated public static final StringField RoleTable
@Deprecated public static final StringField RoleIdColumn
@Deprecated public static final StringField RoleNameColumn
@Deprecated public static final StringField MappingTable
@Deprecated public static final StringField MappingRoleIdColumn
@Deprecated public static final StringField MappingUserIdColumn
public static final java.lang.String EXTENSION_POINT_TYPE
public RecordMeta<DBAuthProperties> getMeta()
SRecordInstance
SRecord getMeta() { return meta; };
The actual meta
variable is thus not Serialized, but it would not be anyway as it is usually static.
getMeta
in class PersistentRecord
public void convertToExpert()
public static java.lang.String createListRolesQuery(DBAuthProperties props)
public static java.lang.String createAuthQuery(DBAuthProperties props)
public static java.lang.String createListUserRolesQuery(DBAuthProperties props)