This is an automated email from the ASF dual-hosted git repository.
adamsaghy pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
from aaa695761c Merge pull request #6815 from
rshdhere/FINERACT-3036-command-error-webhooks
add cfadf48f9b FINERACT-2961: Stop treating the current password as a
password change
add 0821898fd2 FINERACT-2961: Reject the current password on the
change-password endpoint
add 0df5a55f81 FINERACT-2961: Keep password change-detection safe for
stored hashes without an encoder prefix
add cdd5d5e185 FINERACT-2961: Assert the re-encoded password in the update
test (fix SpotBugs URF_UNREAD_FIELD)
add b9eba301ae FINERACT-2961: Centralize the stored-hash prefix guard in
DefaultPlatformPasswordEncoder
new c17d3fe88c Merge pull request #6790 from cmandib/FINERACT-2961
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../infrastructure/core/api/JsonCommand.java | 6 +-
.../useradministration/domain/AppUser.java | 4 +-
.../infrastructure/core/api/JsonCommandTest.java | 98 ++++++++++++++
.../domain/DefaultPlatformPasswordEncoder.java | 6 +
....java => PasswordMustBeDifferentException.java} | 6 +-
...pUserWritePlatformServiceJpaRepositoryImpl.java | 7 +-
.../domain/DefaultPlatformPasswordEncoderTest.java | 59 +++++++++
.../service/AppUserUpdatePasswordTest.java | 145 +++++++++++++++++++++
...rWritePlatformServiceJpaRepositoryImplTest.java | 49 ++++++-
9 files changed, 369 insertions(+), 11 deletions(-)
create mode 100644
fineract-core/src/test/java/org/apache/fineract/infrastructure/core/api/JsonCommandTest.java
copy
fineract-provider/src/main/java/org/apache/fineract/useradministration/exception/{PasswordPreviouslyUsedException.java
=> PasswordMustBeDifferentException.java} (78%)
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/infrastructure/core/domain/DefaultPlatformPasswordEncoderTest.java
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/useradministration/service/AppUserUpdatePasswordTest.java