You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Angela Schreiber (Jira)" <ji...@apache.org> on 2020/08/13 16:06:00 UTC
[jira] [Resolved] (OAK-9178) PasswordHistory.updatePasswordHistory
may return false status
[ 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)