[ 
https://issues.apache.org/jira/browse/OAK-9178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Angela Schreiber resolved OAK-9178.
-----------------------------------
    Fix Version/s: 1.34.0
         Assignee: Angela Schreiber
       Resolution: Fixed

Committed revision 1880832.


> PasswordHistory.updatePasswordHistory may return false status
> -------------------------------------------------------------
>
>                 Key: OAK-9178
>                 URL: https://issues.apache.org/jira/browse/OAK-9178
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, security
>            Reporter: Angela Schreiber
>            Assignee: Angela Schreiber
>            Priority: Minor
>             Fix For: 1.34.0
>
>
> {{PasswordHistory.updatePasswordHistory}} is defined to return true if:
> {code}
> returns true if the history is enabled, the new password is not included in 
> the history and the history was successfully updated; false otherwise.
> {code}
> however, if the feature is enabled and {{shiftPasswordHistory}} doesn't 
> perform the update, the method still returns true. instead 
> {{shiftPasswordHistory}} should report if the history was updated and the 
> return value should be respected by {{PasswordHistory.updatePasswordHistory}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to