{"id":20509195,"url":"https://github.com/shinesolutions/aem-password-reset","last_synced_at":"2025-10-21T18:03:27.587Z","repository":{"id":53022853,"uuid":"85541447","full_name":"shinesolutions/aem-password-reset","owner":"shinesolutions","description":"Resets the admin password to the default value without the existing password","archived":false,"fork":false,"pushed_at":"2024-05-07T05:09:27.000Z","size":67,"stargazers_count":13,"open_issues_count":2,"forks_count":14,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-27T12:46:22.888Z","etag":null,"topics":["aem","aem-opencloud","reset-password"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shinesolutions.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2017-03-20T06:13:04.000Z","updated_at":"2024-12-20T15:12:17.000Z","dependencies_parsed_at":"2024-11-15T20:26:48.137Z","dependency_job_id":"7819f6db-972f-43c9-812a-45e2a4abdac5","html_url":"https://github.com/shinesolutions/aem-password-reset","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinesolutions%2Faem-password-reset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinesolutions%2Faem-password-reset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinesolutions%2Faem-password-reset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shinesolutions%2Faem-password-reset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shinesolutions","download_url":"https://codeload.github.com/shinesolutions/aem-password-reset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248789774,"owners_count":21161891,"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":["aem","aem-opencloud","reset-password"],"created_at":"2024-11-15T20:23:08.123Z","updated_at":"2025-10-21T18:03:22.534Z","avatar_url":"https://github.com/shinesolutions.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/shinesolutions/aem-password-reset/workflows/CI/badge.svg)](https://github.com/shinesolutions/aem-password-reset/actions?query=workflow%3ACI)\n[![Known Vulnerabilities](https://snyk.io/test/github/shinesolutions/aem-password-reset/badge.svg)](https://snyk.io/test/github/shinesolutions/aem-password-reset)\n\n# Reset Password for Admin User AEM 6.x\n\nThis application resets the admin password to the default value without the existing password.\n\n## Supported AEM versions\n\n| AEM | Password Reset |\n|--|--|\n| 6.5 | 1.1.x |\n| 6.4 | 1.1.x |\n| 6.3 | 1.0.x |\n| 6.2 | 1.0.x |\n\n## Usage\n\nDrop `aem-password-reset-content-\u003cversion\u003e.zip` into `\u003caem-home\u003e/crx-quickstart/install` (create the `install` folder if it isn't there).\n\nThe bundle contains an activator that will execute as soon as the bundle is installed (see `Activator.java`).\n\nThe contents of `logs/error.log` should look something like this:\n\n```\n20.03.2017 16:25:40.485 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent INSTALLED\n20.03.2017 16:25:40.486 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Installed bundle com.shinesolutions.aem.passwordreset [471] from resource TaskResource(url=jcrinstall:/apps/aem-password-reset/install/aem-password-reset-bundle-0.0.1-SNAPSHOT.jar, entity=bundle:com.shinesolutions.aem.passwordreset, state=INSTALL, attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:24:21:, Bundle-SymbolicName=com.shinesolutions.aem.passwordreset, Bundle-Version=0.0.1.SNAPSHOT], digest=1489987539235)\n20.03.2017 16:25:40.521 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent RESOLVED\n20.03.2017 16:25:40.522 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent STARTING\n20.03.2017 16:25:40.526 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset.Activator Changed the admin password\n20.03.2017 16:25:40.527 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent STARTED\n20.03.2017 16:25:40.527 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Started bundle com.shinesolutions.aem.passwordreset [471]\n```\n\nOnce the admin password has been reset, you may remove the package from the `install` directory to uninstall it.\nThe contents of `logs/error.log` should look something like this:\n\n```\n20.03.2017 16:32:40.365 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent STOPPING\n20.03.2017 16:32:40.365 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent STOPPED\n20.03.2017 16:32:40.365 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent UNRESOLVED\n20.03.2017 16:32:40.366 *INFO* [OsgiInstallerImpl] com.shinesolutions.aem.passwordreset BundleEvent UNINSTALLED\n20.03.2017 16:32:40.367 *INFO* [OsgiInstallerImpl] org.apache.sling.audit.osgi.installer Uninstalled bundle com.shinesolutions.aem.passwordreset [471] from resource TaskResource(url=jcrinstall:/apps/aem-password-reset/install/aem-password-reset-bundle-0.0.1-SNAPSHOT.jar, entity=bundle:com.shinesolutions.aem.passwordreset, state=UNINSTALL, attributes=[org.apache.sling.installer.api.tasks.ResourceTransformer=:24:21:, Bundle-SymbolicName=com.shinesolutions.aem.passwordreset, Bundle-Version=0.0.1.SNAPSHOT], digest=1489987539235)\n```\n\n## Resetting additional passwords\n\nThis bundle activator may take a pre-configured list of authorizable IDs via an OSGi configuration file.\n\n/apps/system/config/com.shinesolutions.aem.passwordreset.Activator:\n```\n\u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n\u003cjcr:root xmlns:sling=\"http://sling.apache.org/jcr/sling/1.0\" xmlns:jcr=\"http://www.jcp.org/jcr/1.0\"\n    jcr:primaryType=\"sling:OsgiConfig\"\n    pwdreset.authorizables=\"[admin,deployer,importer]\"/\u003e\n```\nWith this configuration, the password for `deployer` will be reset to `deployer`, the password for `importer` will be reset to `importer`, etc.\n\nNote: a change to the OSGI configuration *will* trigger a restart of the bundle which will reset the passwords.\n\n## Building\n\nThis project uses Maven for building. Common commands:\n\nFrom the root directory, run ``mvn clean install`` to build the bundle and content package.\n\nThe artifact will be located at `aem-password-reset/content/target/aem-password-reset-content-\u003cversion\u003e.zip`.\n\n## Release\n\nCreate a release branch off the `master` branch\n```\ngit branch release/X.X.X\n```\n\nPrepare the release (use vX.X for the tag)\n```\nmvn release:prepare\n```\n\nPush the branch to the repository\n```\ngit push origin\n```\n\nCheckout the newly created tag and build the project\n```\ngit checkout tags/vX.X.X\n```\n\n```\nmvn clean package\n```\n\nAttach the CRX package to the release on Github and merge back to `master`.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinesolutions%2Faem-password-reset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshinesolutions%2Faem-password-reset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshinesolutions%2Faem-password-reset/lists"}