<systemConfiguration>
...
<roleManagement>
<autoassignEnabled>true</autoassignEnabled>
</roleManagement>
...
</systemConfiguration>
Docker Compose Configuration - Book Samples, Chapter 10
This is a docker compose configuration following the configuration used in midPoint book.
Use the book-example.sh script to set up and start the environment:
-
book-example.sh startstarts the containers up. It also initializes the environment (midPoint home directory) before first start. -
book-example.sh resetresets everything to initial state. All data will be lost.
Steps To Proceed
The initial state corresponds roughly to the end of chapter 10 (Organizational Structure) of the book.
Following steps can be used to fully initialize the configuration:
-
Start/resume
LDAP Reconciliationtask. -
Disable LDAP inbound mapping
uid→name. (optional) -
Change
autoassign-jobcodemapping forassignmentin Person object template to active. Do not forget to clickSave. -
Activate role autoassignment in system configuration.
-
Activate
assignmentmapping forEmployeerole in HR resources (inempnoattribute). -
Reconcile HR resource.
Structure
Subdirectories:
-
inithas initial configuration used by the containers.-
midpointinitial configuration for midPoint (post-initial objects, schema, CSV resources) -
ldapinitial configuration for OpenLDAP (schema, config and basic entries) -
postgresinitial configuration for PostgreSQL (DB schema for database resources CRM and Portal)
-
-
midpoint_homeis midPoint home directory, used by midPoint container. It is created by thebook-example.shscript, to make sure it has correct owenership and permissions. It is then populated by midPoint container at first start. It is writable, you can modify the resource CSV files and copy connector JARs here.