← Back to plugin index

Property User Persister

Description

A user persister plugin that uses a properties file as storage. The plugin is intended for demo and testing.

It is fully functional and can be accessed concurrently in a read-only manner, but it is not optimized for performance, and does not scale to a large number of entries. It keeps everything in memory and reads and writes the whole data file.

Type name
PropertyUserPersister
Class
com.airlock.iam.core.misc.impl.persistency.property.PropertyUserPersister
May be used by
Properties
File (file)
Description

Path to the properties file used to store the user information.

This is either an absolute path, or a path relative to the config directory. If the file does not exist, it is created by the plugin.

Attributes
File/Path
Optional
Default value
users.properties
Other Credentials Delivery Dates (otherCredentialsDeliveryDates)
Description

Comma-separated list of secondary keys pointing to other credential's delivery dates.

Note that if you intend to reference properties from other persisters, you need to store them in the same file.

Attributes
String
Optional
Example
token-delivery-date
Example
token-delivery-date,iak-delivery-date
Context Data Keys (contextDataKeys)
Description
A list of property keys used for the context data container. All context data columns are treated as strings.
Attributes
String-List
Optional
Additional Insert Data (additionalInsertData)
Description

This property defines a list of name/value pairs used in insert statements when a new user is inserted.

This allows you to add arbitrary fixed or dynamic values when a new user is created. This is useful if some fields may not be NULL but are not inserted by this plugin by default.

Attributes
Plugin-List
Optional
Assignable plugins
YAML Template (with default values)

type: PropertyUserPersister
id: PropertyUserPersister-xxxxxx
displayName: 
comment: 
properties:
  additionalInsertData:
  contextDataKeys:
  file: users.properties
  otherCredentialsDeliveryDates: