UserPasswordExpirationNotification
Password expiration notification workflow
UserPasswordExpirationNotification notifies users when their Identity Store password is about to
expire. The workflow scans the Identity Store for accounts whose passwords will expire within the
number of days configured in expirebefore (default 3), and sends an e-mail notification to the
affected users. To avoid sending the same notification repeatedly, it limits the total number of
notifications per expiring password to maxnumnotifications (default 3).
The workflow parameter hasNoTSport (true) indicates that the workflow operates only within the
Identity Store and has no target system port.
The workflows in this reference are delivered as factory data and are loaded into the Connectivity configuration database during the initial configuration. They are samples: use the Identity Manager to copy a workflow into your own scenario and adapt the copy. Do not change the delivered objects, because a product update can replace them.
At a Glance
Name |
|
Category |
Password Synchronization |
Technology |
Java-based real-time workflow |
LDAP object class |
|
Workflow type |
|
Connected system / controller type |
|
Configuration wizard |
|
Active in the factory data |
FALSE |
Factory data version |
8.2 |
Factory data path |
|
Prerequisites
-
The Identity Store must be accessible through the
Identity Storeconnected directory using the bind profileDomain_Admin, so theLDAPport can query account entries for impending password expiry. -
A mail server must be reachable by the
notifyport (using theNotifyMailConnector) to deliver the expiration notifications.
Workflow and Activities
| Activity | Type | Component description | Description | Ports |
|---|---|---|---|---|
|
|
|
Error Activity |
|
|
|
|
Join activity for the userPasswordExpirationNotification workflow |
|
Ports
| Activity | Port | Component description | Connector | Connected directory | Bind profile | SSL |
|---|---|---|---|---|---|---|
|
|
|
|
- |
- |
not set |
|
|
|
|
|
|
not set |
|
|
|
|
- |
- |
not set |
Configuration Parameters
| Parameter | Default value |
|---|---|
|
true |
|
P0Y0M0DT0H20M0S |
|
* |
|
* |
| Parameter | Default value |
|---|---|
|
|
|
3 |
|
P0Y0M1DT0H0M0S |
|
P0Y0M0DT2H0M0S |
| Parameter | Default value |
|---|---|
|
dxmPassword |
| Parameter | Default value |
|---|---|
|
3 |
|
3 |
|
LDAP |
|
3 |
|
P0Y0M0DT0H30M0S |
|
P0Y0M0DT0H30M0S |
| Parameter | Default value |
|---|---|
|
userPassword |
| Parameter | Default value |
|---|---|
|
userPassword |
A Java-based real-time workflow runs as a permanently loaded configuration in the Java-based Server (IdS-J). It is triggered by a request or an event rather than by a schedule. Each workflow consists of activities; an activity opens one port per system it talks to, and each port uses a connector to reach that system.
Most provisioning workflows contain a join activity that performs the actual work and an error
activity that receives requests which still fail after all retries and sends a notification about
them. The retrylimit, waitbeforeretry and timeout parameters of an activity control how often
and how long a failed request is retried before it is handed to the error activity.
The event port publishes change events over JMS, and the notify port sends e-mail notifications.
Neither port is bound to a connected directory.
The join activity carries out the notification work. Its LDAP port connects to the Identity
Store using the LdapConnector with the Domain_Admin bind profile; through this port the activity
reads the account entries to identify which passwords expire within expirebefore days and have not
yet reached the maxnumnotifications limit. The notify port then sends the expiration e-mail
through the NotifyMailConnector, decrypting userPassword as needed.
Failed requests are retried up to three times (retrylimit) with 30-minute waits
(waitbeforeretry) before being handed to the error activity, which reports them via the
Message port.
Operation
-
The workflow is triggered on a schedule.
-
The
joinactivity queries the Identity Store through theLDAPport to find accounts whose passwords expire withinexpirebeforedays and for which fewer thanmaxnumnotificationsnotifications have already been sent. -
For each account found, the
notifyport sends an expiration notification e-mail to the user through theNotifyMailConnector. -
The notification counter for each account is incremented in the Identity Store to enforce the
maxnumnotificationslimit on subsequent runs. -
Requests that fail permanently after retries are handed to the
erroractivity, which reports them by e-mail through theMessageport.
The workflow is delivered inactive (dxmActive is FALSE). Copy it into your own scenario, adjust
expirebefore and maxnumnotifications as required, and activate the copy.