Eric Norman created SLING-12196:
-----------------------------------

             Summary: 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
             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)

Reply via email to