This user operation event listener is designed to assign password policy satisfied random passwords for ask password users. Refer [1] to understand the implementation details.
Tested with IS-5.5.0
- Stop the server if it is already running.
- Build the project using the command
mvn clean install
- Copy the JAR file org.wso2.carbon.sample.user.operation.event.listener-1.0.0.jar from the target directory to <IS_HOME>/repository/components/dropins folder
- Start the server.
- Enable ask password and password policy feature.
- Add a user with ask password option.
- User will be added successfully.