Skip to content

Commit

Permalink
docu
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Oct 19, 2023
1 parent ebb42b2 commit ed16cc5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 10 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ services:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "adminadmin"
POSTGRES_CONNECTION: "jdbc:postgresql://db/office"
# PROFILE_LOGIN_EVENT: "10"

deploy:
# To run with memory limits
Expand Down
16 changes: 6 additions & 10 deletions src/site/markdown/teams/profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,16 @@ The System Model files *system-de.bpmn* and *system-en.bpmn* provide a valid BPM


### Autoprocess a User Profile During the Login
When a user profile is created the first time, additional the user profile can be processed by the Imixs-Workflow engine.
To enable this 'auto process mode' the system property *'profile.login.event'* can be set with a BPMN Event ID:
In addition the user profile can be processed and updated by the Imixs-Workflow engine each time the user login to the system.
To enable this mode, the system property *'profile.login.event'* can be set with a valid BPMN Event ID:

profile.login.event=10


Optional this variable can also be set as an environment variabel:

PROFILE_LOGIN_EVENT: "10"

**Note:** Autoprocessing a user profile during login can also be combined with other login adapters. E.g. if a LDAP Profile setup exists, the attributes of an LDAP entry will be automatically synchronized during the login process.


## The ProfilePlugin
Expand Down Expand Up @@ -67,10 +70,3 @@ See the following example where a BPMN Event text (e.g. History text or Email Bo
See the section [TextUsernameAdapter](../textadapter/index.html) for more details.





# The ProfilePlugin

The marty ProfilePlugin supports additional business logic for profile entities. The Plugin is used by the System Workflow
when a userProfile is processed (typically when a User logged in).

0 comments on commit ed16cc5

Please sign in to comment.