You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (Jira)" <ji...@apache.org> on 2023/12/23 21:13:00 UTC
[jira] [Closed] (SLING-12196) allowSelfChangePassword config key does not match
[ https://issues.apache.org/jira/browse/SLING-12196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Norman closed SLING-12196.
-------------------------------
> 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)