{"id":18970332,"url":"https://github.com/athiththan11/defective-password-validator","last_synced_at":"2026-04-06T14:30:18.480Z","repository":{"id":122657398,"uuid":"195456218","full_name":"athiththan11/Defective-Password-Validator","owner":"athiththan11","description":"Defective password validation using WSO2 Event Handlers extension","archived":false,"fork":false,"pushed_at":"2019-07-08T10:59:16.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-01T07:27:07.737Z","etag":null,"topics":["event-handlers","java-watchservice","password-validator","pre-update-credentials","wso2","wso2-event-handler"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/athiththan11.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-05T19:07:45.000Z","updated_at":"2021-05-22T18:18:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c737719-5f4b-4a46-8b07-ca3d68d71035","html_url":"https://github.com/athiththan11/Defective-Password-Validator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athiththan11%2FDefective-Password-Validator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athiththan11%2FDefective-Password-Validator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athiththan11%2FDefective-Password-Validator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/athiththan11%2FDefective-Password-Validator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/athiththan11","download_url":"https://codeload.github.com/athiththan11/Defective-Password-Validator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239970664,"owners_count":19727009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["event-handlers","java-watchservice","password-validator","pre-update-credentials","wso2","wso2-event-handler"],"created_at":"2024-11-08T14:56:41.436Z","updated_at":"2026-04-06T14:30:18.409Z","avatar_url":"https://github.com/athiththan11.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Defective Password Validator\n\nA custom event handler implementation to validate password against a set of defective passwords stored in a text file.\n\n## Prepare\n\n### Defective Passwords Text File\n\nCreate a text file named `passwords.txt` and add the following lines. The following values will be used as a list of defective passwords to validate ...\n\n* admin\n* password\n* helloWorld\n\nCreate a directory named `defective` inside `\u003cIS_HOME\u003e/repository/deployment/server/` path and place the above created `passwords.txt`.\n\n### WSO2 Identity Server\n\nOpen the `\u003cIS_HOME\u003e/repository/conf/identity/identity-event.properties` file and add the following lines at the bottom of the properties file to subscribe for password-update events.\n\n\u003e Please update the digit value according to your `identity-event.properties` file (last used value + 1).\n\n\u003e The given `module.name` value is the same value which configured in the `getName()` method in `DefectivePasswordValidatorEventHandler` class.\n\n```properties\nmodule.name.13=defectivePasswordValidator\ndefectivePasswordValidator.subscription.1=PRE_UPDATE_CREDENTIAL\ndefectivePasswordValidator.subscription.2=PRE_UPDATE_CREDENTIAL_BY_ADMIN\n```\n\n## Build\n\nBuild the project by running ...\n\n```shell\nmvn clean package\n```\n\n## Deploy\n\nAfter a successful build, copy the `defective-password-validator-1.0.0.jar` artifact from the `target` folder and paste it inside `\u003cIS HOME\u003e/repository/components/dropins` folder.\n\n## Run\n\nStart your WSO2 Identity Server by executing the command from your `\u003cIS HOME\u003e/bin` folder\n\n```shell\nsh wso2server.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathiththan11%2Fdefective-password-validator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fathiththan11%2Fdefective-password-validator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fathiththan11%2Fdefective-password-validator/lists"}