Set up¶
The following guide explains how you can install and set up Password Reset Enforcer in WSO2 Identity Server.
Prerequisites¶
- A running WSO2 Identity Server instance.
- Access to the WSO2 Identity Server installation directory (referred to as
IS_HOME).
Step 1: Install the Password Reset Enforcer connector¶
-
From the WSO2 Identity Server Connector Store, download the Password Reset Enforcer and its artifacts.
-
Copy the
jarfile into the<IS_HOME>/repository/components/dropinsdirectory of your WSO2 Identity Server installation.
Step 2: Configure password expiry event handling¶
Add the following configuration to the IS_HOME/repository/conf/deployment.toml file.
[[event_handler]]
name = "passwordExpiry"
subscriptions = [
"POST_UPDATE_CREDENTIAL",
"POST_UPDATE_CREDENTIAL_BY_ADMIN",
"POST_ADD_USER"
]
[event_handler.properties]
passwordExpiryInDays = "30"
enableDataPublishing = false
priorReminderTimeInDays = "0"
Step 3: Enable the authenticator¶
To make the authenticator available in application step configurations, add the following configuration to the <IS_HOME>/repository/conf/deployment.toml file.
[authentication.authenticator.password-reset-enforcer]
name = "password-reset-enforcer"
enable = true
Step 4: Enable the enforcement scope configuration¶
To make the Enforce password expiry for setting available in the Console, add the following configuration to the <IS_HOME>/repository/conf/deployment.toml file.
Step 5: Restart WSO2 Identity Server¶
Restart WSO2 Identity Server to apply the configuration and deploy the artifacts.