Table of Contents

Generated values

The main functionality of all generator is generating values. In CzechIdM is princip of generated values same. During creating entity is called generator manager. Manager will iterate over all available and enabled generator for currently created identity. Generators are used only when is entity CREATED. Afte creating isn't possible use generators behavior.

Entities that allow generating values:

Generators

Generators are setup via agenda Generated values (access via Settings). All generators supports these settings:

Identities

Currently are available these generators

IdentityUsernameGenerator

Standard username generator uses firstname and lastname for generating username. Order of firstname or lastname can be setup by settings. Generator also allow check generated username for unique. The check is done by search in existing identities.

IdentityEmailGenerator

Standard email generator uses firstname, lastname or username for generating email. Base for generating you can choose by settings. Also characters count and connection character.

Generator is very similiar to username generator. And behavior with compose is same.

IdentityScriptValueGenerator

Scripted generator uses script from category 'SYSTEM' for generating values. Into script is passed whole identity and the identity must be also returned. The script also contain definition for generator. For example information about settings.

IdentityFormDefaultValueGenerator

Form default generator is used for add default values into identity eavs. The generator is also created during CzechIdM init phase. The generator skip permissions for Form values - values will be created even user hasn't permissions for create.

IdentityAnonymousUsernameGenerator

Anonymous username generator composes usernames from fixed prefix and generated numeric value from set range. This range is specified by required length of the numerical part. If set (e.g.) to 4, the generated values are from range 0000-9999.

Admin guide (to be completed)

Devel guide