Commit Graph

77 Commits (ad0504add61a28d4d7b32cf2edccad8b03f035db)
 

Author SHA1 Message Date
Naeem Ullah d6f656cda5 Transaction Logs
Transaction Logs
4 weeks ago
Naeem Ullah 1639058e20 Add reset password endpoint and DTO
Introduces a new /reset-password endpoint in AuthenticationController, a ResetPasswordDTO for request payload, and a resetPassword method in UserService to handle password resets. Also updates SecurityURI with the new endpoint constant.
4 weeks ago
Naeem Ullah 44707f34c2 Fix password verification logic in UserService
Corrects the password verification by comparing the provided old password with the user's actual stored password instead of the new password.
4 weeks ago
Naeem Ullah 5e85a32f61 Add password change and user uniqueness validation
Introduced ChangePasswordDTO and implemented password change functionality in UserService and AuthenticationController. Added custom exceptions for existing email, username, and incorrect old password. Updated User entity and DTOs to include porOrgacode, and enforced uniqueness checks for userId and email. Enhanced ERRCode with new error codes and improved boolean field handling in User entity.
4 weeks ago
Naeem Ullah a1f993bfd4 Comment out SubscriptionFilter implementation
The SubscriptionFilter class and its contents have been fully commented out, effectively disabling its functionality. This change may be for debugging, refactoring, or temporary removal pending future updates.
4 weeks ago
Naeem Ullah 8507141d9e Add TransactionLog entity and field constants
Introduced the TransactionLog JPA entity for transaction logging. Added FieldNameConstant and DBFieldNameConstant enums for standardized field names, and expanded FieldNameLength with additional constants. Updated SecurityURI and AuthenticationController to support password change endpoint. Commented out request limiting logic in SubscriptionFilter.
4 weeks ago
Naeem Ullah ea9abc99c8 Add TransactionLog entity and field constants
Introduced the TransactionLog entity for transaction logging. Added FieldNameConstant and DBFieldNameConstant enums for standardized field names, and expanded FieldNameLength with additional constants. Updated SecurityURI and AuthenticationController to support password change endpoint. Fixed PermissionService to use the correct repository for user permission updates.
4 weeks ago
Naeem Ullah 6225454d51 Add PermissionRepository and update PermissionService
Introduced PermissionRepository for managing User entities and refactored PermissionService to use this new repository instead of UserRepository. This change streamlines permission-related operations and improves code organization.
4 weeks ago
Naeem Ullah cf224e3f85 Refactor user permissions to dedicated service and controller
Moved user permission management logic from UserService and UserController to new PermissionService and PermissionController classes. This improves separation of concerns and code organization. Also removed unused findByEmail method from UserRepository.
4 weeks ago
Naeem Ullah 5bd79acda5 Validate Endpoints 4 weeks ago
Naeem Ullah 493b1564c8 Add user management endpoints to token bypass list
Added several /aconnect/user/* endpoints to the TokenBypassURI list to allow these user management operations to bypass token authentication.
1 month ago
Naeem Ullah 29a5e2f5e1 Refactor AuthService to use default RestTemplate and ObjectMapper
Replaces constructor-based dependency injection with direct instantiation of RestTemplate and ObjectMapper in AuthService. Simplifies the class by removing the constructor and initializing dependencies inline.
1 month ago
Naeem Ullah 10084bbd48 Refactor services to inject RestTemplate via constructor
Updated all service classes to receive RestTemplate (and ObjectMapper where needed) through constructor injection instead of instantiating them directly. Removed the RestTemplateConfig class, as RestTemplate is now expected to be provided externally, improving testability and configuration flexibility.
1 month ago
Naeem Ullah 63f10ef2fc Add deposit and loan account services and update controllers
Introduced DepositAccountService and LoanAccountService for handling deposit and loan account operations. Updated DepositAccountController and LoanAccountController to use these services and added new endpoints for individual and business deposit/loan creation and approval. Added RestTemplate configuration and updated AconnectURI and TokenBypassURI constants. Modified PermissionDTO to use a String for permissions and adjusted UserService accordingly. Increased requestBody column length in Logger entity. Added Apache HttpClient5 dependency.
1 month ago
Naeem Ullah 2426fb7c7e CRM Api added
CRM Api added
1 month ago
Naeem Ullah 1e375887e5 Refactor transaction controllers and services structure
Split transaction-related endpoints into dedicated controllers and services for authorization, cancellation, rejection, and reversal. Renamed LoginController and LoginService to AuthController and AuthService. Added DTOs for account-to-account and GL-to-account transactions, updated TransactionService to handle new transaction types, and adjusted URI constants and token bypass lists accordingly. Removed EnvironmentDetectionService as part of the refactor.
1 month ago
Naeem Ullah 9c7f195e98 Merge pull request 'User Permission Management' (#4) from Wasi-BS/1676 into FMFI-PRE-PRODUCTION
Reviewed-on: https://ct.mfsys.com.pk/aConnect/aConnect-BS/pulls/4
1 month ago
Wasiullah Khan a0529f9b34 User Permission Management 1 month ago
Naeem Ullah 162678d8d9 Rename econnect module to aconnect
All files and references for the 'econnect' module have been renamed to 'aconnect', including source, test files, and module references in the parent POM. This standardizes the module naming across the project.
1 month ago
Naeem Ullah 16ef541e30 Merge branch 'FMFI-PRE-PRODUCTION' of https://ct.mfsys.com.pk/aConnect/aConnect-BS into FMFI-PRE-PRODUCTION 1 month ago
Naeem Ullah 3a475a595d Update pom.xml 1 month ago
Naeem Ullah e54acd9a61 Merge pull request 'Add ptrTrancode to DTOs and update config files' (#3) from FMFI-PRE-PRODUCTION-PROFILING into FMFI-PRE-PRODUCTION
Reviewed-on: https://ct.mfsys.com.pk/aConnect/aConnect-BS/pulls/3
1 month ago
Naeem Ullah 40cc1f1597 Add ptrTrancode to DTOs and update config files
Added the ptrTrancode field to AccountGLTransactionRequest and GLtoGLRequest DTOs. Updated Maven build to include spring-boot-maven-plugin with profile support. Cleaned up and simplified environment-specific application properties, moving most configuration to environment variables and reducing duplication.
1 month ago
Mubashar Hussain 01d3c23103 Merge pull request 'security module- login screen' (#1) from SecurityModuleChanges into FMFI-PRE-PRODUCTION
Reviewed-on: https://ct.mfsys.com.pk/aConnect/aConnect-BS/pulls/1
2 months ago
Wasiullah Khan 173663d935 security module- login screen 2 months ago
Naeem Ullah fc07a8e88f Base Architecture
Base Architecture
2 months ago
gulbadin1171 47dc1cc5fc gulbadin
test
2 months ago