[
https://issues.apache.org/jira/browse/SLING-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Norman resolved SLING-12196.
---------------------------------
Resolution: Fixed
Merged PR at:
[{{84c75c5}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-usermanager/commit/84c75c5f242db21d199ca472b65929f3f8d85bc3]
> allowSelfChangePassword config key does not match
> -------------------------------------------------
>
> Key: SLING-12196
> URL: https://issues.apache.org/jira/browse/SLING-12196
> Project: Sling
> Issue Type: Bug
> Reporter: Eric Norman
> Assignee: Eric Norman
> Priority: Major
> Fix For: JCR Jackrabbit User Manager 2.2.30
>
>
> The ChangeUserPasswordServlet$Config OCD defines the "Allow Self Password
> Change" value that uses the "allowSelfChangePassword" key.
> Unfortunately, the ChangeUserPasswordServlet#activate and
> AuthorizablePrivilegesInfoImpl#bindChangeUserPassword code was using
> "alwaysAllowSelfChangePassword" as the config property name which does not
> match the name defined in the config definition.
>
> Expected:
> Change the code to use the correct property name. Also, provide backward
> compatibility by checking for the old name as well and log a warning to
> prompt the user to update their configuration.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)