Database Token Persister
Defines the table and column names, as well as additional query settings for the Database Token Persister.
This persister handles both token and token assignment data.
sqlDataSource) tokenTable) tokenSequence) The name of the database sequence providing primary keys (Oracle only).
If left empty, Airlock IAM expects the database to support auto-increment columns (SQL Server, MySQL).
tokenColTokenId) The name of the column holding the token identity (primary key).
This column needs to be set to auto_increment (H2, mysql,..) or the database sequence name must be configured (Oracle).
tokenColType) tokenColSerialId) tokenColActive) tokenColActivationDate) tokenColObsoletesTokenId) The name of the column holding the 'obsoletes_token' token reference (foreign key).
Stores a reference to the token that gets deactivated the next time this token is used.
tokenColValidityRangeLower) tokenColValidityRangeUpper) tokenColGenerationDate) tokenColFirstUsageDate) tokenColLatestUsageDate) tokenColTotalUsages) tokenColTokenData) tokenColActivatesTokenId) The name of the column holding the 'activates_token' token reference (foreign key).
Stores a reference to the token that gets activated the next time this token is used.
tokenColGenericDataElement1) tokenColGenericDataElement2) tokenColGenericDataElement3) tokenColGenericDataElement4) tokenColGenericDataElement5) tokenColGenericDataElement6) tokenColGenericDataElement7) tokenColGenericDataElement8) tokenColGenericDataElement9) tokenColGenericDataElement10) tokenColGenericDataElement11) tokenColGenericDataElement12) tokenColTrackingId) tokenAdditionalWhereClause) Optional SQL query condition that is added to the WHERE clause when searching for, updating or deleting tokens.
- Example for an SQL query without an additional WHERE clause:
SELECT * FROM token WHERE type = 'myTokenType' - Example for an SQL query with an additional WHERE clause "
foo()":SELECT * FROM token WHERE type = 'myTokenType' AND foo()
Note that this WHERE clause may be overridden for the token lookup using the property: "Token Search Additional Where Clause"
tokenSearchAdditionalWhereClause) additionalTokenInsertData) This property defines a list of name/value pairs used in insert statements when a new token record is inserted.
This allows you to add arbitrary fixed or dynamic values when a new record is created.
Caution: Make sure to appropriately escape values (e.g. use single quotes around strings). They are used as provided in the SQL insert statements. This allows calling database dependent functions (e.g. in order to get a sequence number, system date, etc). Also, do not use any of the standard fields of the token table.
tokenAssignmentTable) tokenAssignmentColTokenId) tokenAssignmentColUser) tokenAssignmentColAssignmentDate) tokenAssignmentColAssignmentUser) tokenAssignmentColOrderNew) tokenAssignmentColOrderNewUser) tokenAssignmentColOrderNewDate) tokenAssignmentColOrderOptions) tokenAssignmentColAdditionalInformation) tokenAssignmentColComment) tokenAssignmentAdditionalWhereClause) Optional SQL query condition that is added to the WHERE clause when searching for, updating or deleting token assignments.
- Example for an SQL query without additional WHERE clause:
SELECT * FROM token_assignment WHERE ta_user = 'user' - Example for an SQL query with additional WHERE clause "
foo()":SELECT * FROM token_assignment WHERE ta_user = 'user' AND foo()
additionalTokenAssignmentInsertData) This property defines a list of name/value pairs used in insert statements when a new token assignment record is inserted.
This allows you to add arbitrary fixed or dynamic values when a new record is created.
Caution: Make sure to appropriately escape values (e.g. use single quotes around strings). They are used as provided in the SQL insert statements. This allows calling database dependent functions (e.g. in order to get a sequence number, system date, etc). Also, do not use any of the standard fields of the token assignment table.
type: DatabaseTokenPersister
id: DatabaseTokenPersister-xxxxxx
displayName:
comment:
properties:
additionalTokenAssignmentInsertData:
additionalTokenInsertData:
sqlDataSource:
tokenAdditionalWhereClause:
tokenAssignmentAdditionalWhereClause:
tokenAssignmentColAdditionalInformation:
tokenAssignmentColAssignmentDate:
tokenAssignmentColAssignmentUser:
tokenAssignmentColComment:
tokenAssignmentColOrderNew:
tokenAssignmentColOrderNewDate:
tokenAssignmentColOrderNewUser:
tokenAssignmentColOrderOptions:
tokenAssignmentColTokenId:
tokenAssignmentColUser:
tokenAssignmentTable:
tokenColActivatesTokenId:
tokenColActivationDate:
tokenColActive:
tokenColFirstUsageDate:
tokenColGenerationDate:
tokenColGenericDataElement1:
tokenColGenericDataElement10:
tokenColGenericDataElement11:
tokenColGenericDataElement12:
tokenColGenericDataElement2:
tokenColGenericDataElement3:
tokenColGenericDataElement4:
tokenColGenericDataElement5:
tokenColGenericDataElement6:
tokenColGenericDataElement7:
tokenColGenericDataElement8:
tokenColGenericDataElement9:
tokenColLatestUsageDate:
tokenColObsoletesTokenId:
tokenColSerialId:
tokenColTokenData:
tokenColTokenId:
tokenColTotalUsages:
tokenColTrackingId:
tokenColType:
tokenColValidityRangeLower:
tokenColValidityRangeUpper:
tokenSearchAdditionalWhereClause:
tokenSequence:
tokenTable: