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 4279b8acc6 Merge pull request #5786
add 455033f4d1 FINERACT-2006: Forgot password on login page refactoring
new edae333cc5 Merge pull request #5369
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:
.../useradministration/domain/AppUser.java | 54 ++++++++++
.../service/AppUserConstants.java | 1 +
.../infrastructure/core/config/SecurityConfig.java | 4 +-
.../service/GmailBackedPlatformEmailService.java | 20 ++--
.../core/service/PlatformEmailService.java | 2 +
.../security/config/AuthorizationServerConfig.java | 13 ++-
...mporaryPasswordAwareAuthenticationProvider.java | 54 ++++++++++
.../api/ForgotPasswordApiResource.java | 62 +++++++++++
.../useradministration/api/UsersApiResource.java | 2 +-
.../api/UsersApiResourceSwagger.java | 2 +
.../domain/AppUserRepository.java | 3 +
.../service/ForgotPasswordService.java | 6 +-
.../service/ForgotPasswordServiceImpl.java | 73 +++++++++++++
.../service/UserDataValidator.java | 34 ++++--
.../db/changelog/tenant/changelog-tenant.xml | 1 +
.../tenant/parts/0230_add_forgot_password.xml | 19 ++--
...aryPasswordAwareAuthenticationProviderTest.java | 90 ++++++++++++++++
.../service/ForgotPasswordServiceImplTest.java | 116 +++++++++++++++++++++
18 files changed, 530 insertions(+), 26 deletions(-)
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/infrastructure/security/service/TemporaryPasswordAwareAuthenticationProvider.java
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/useradministration/api/ForgotPasswordApiResource.java
copy
fineract-core/src/main/java/org/apache/fineract/infrastructure/security/service/PlatformUserRightsContext.java
=>
fineract-provider/src/main/java/org/apache/fineract/useradministration/service/ForgotPasswordService.java
(85%)
create mode 100644
fineract-provider/src/main/java/org/apache/fineract/useradministration/service/ForgotPasswordServiceImpl.java
copy
fineract-loan/src/main/resources/db/changelog/tenant/module/loan/parts/1007_add_loan_product_schedule_extension_for_down_payment_configuration.xml
=>
fineract-provider/src/main/resources/db/changelog/tenant/parts/0230_add_forgot_password.xml
(63%)
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/infrastructure/security/service/TemporaryPasswordAwareAuthenticationProviderTest.java
create mode 100644
fineract-provider/src/test/java/org/apache/fineract/useradministration/service/ForgotPasswordServiceImplTest.java