Repository: fineract
Updated Branches:
refs/heads/develop 17fd243ae -> 1d38bd25d
Injection fix
Project: http://git-wip-us.apache.org/repos/asf/fineract/repo
Commit: http://git-wip-us.apache.org/repos/asf/fineract/commit/e7035d1f
Tree: http://git-wip-us.apache.org/repos/asf/fineract/tree/e7035d1f
Diff: http://git-wip-us.apache.org/repos/asf/fineract/diff/e7035d1f
Branch: refs/heads/develop
Commit: e7035d1f394bd4f65603cc9a31d79d44f1dc73ef
Parents: 17fd243
Author: Avik Ganguly
Authored: Sat Jan 20 10:00:51 2018 +0530
Committer: Avik Ganguly
Committed: Sat Jan 20 10:00:51 2018 +0530
--
.../JournalEntryReadPlatformServiceImpl.java| 11 +--
.../service/AuditReadPlatformServiceImpl.java | 2 ++
.../SchedulerJobRunnerReadServiceImpl.java | 9 --
...ReportMailingJobReadPlatformServiceImpl.java | 9 --
...ingJobRunHistoryReadPlatformServiceImpl.java | 9 --
.../security/utils/ColumnValidator.java | 30 +++-
.../security/utils/SQLInjectionValidator.java | 2 +-
.../sms/service/SmsReadPlatformServiceImpl.java | 9 --
.../NotificationReadPlatformServiceImpl.java| 26 +++--
.../service/OfficeReadPlatformServiceImpl.java | 10 +--
...AccountTransfersReadPlatformServiceImpl.java | 12 ++--
...structionHistoryReadPlatformServiceImpl.java | 9 --
...ndingInstructionReadPlatformServiceImpl.java | 9 --
.../service/ClientReadPlatformServiceImpl.java | 3 +-
.../service/CenterReadPlatformServiceImpl.java | 5
.../service/GroupReadPlatformServiceImpl.java | 4 +++
.../service/LoanReadPlatformServiceImpl.java| 2 ++
...nHoldTransactionReadPlatformServiceImpl.java | 8 +-
.../SavingsAccountReadPlatformServiceImpl.java | 4 ++-
...eAccountDividendReadPlatformServiceImpl.java | 11 +--
...eProductDividendReadPlatformServiceImpl.java | 12 ++--
21 files changed, 146 insertions(+), 50 deletions(-)
--
http://git-wip-us.apache.org/repos/asf/fineract/blob/e7035d1f/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryReadPlatformServiceImpl.java
--
diff --git
a/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryReadPlatformServiceImpl.java
b/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryReadPlatformServiceImpl.java
index 49efaa0..928ed40 100755
---
a/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryReadPlatformServiceImpl.java
+++
b/fineract-provider/src/main/java/org/apache/fineract/accounting/journalentry/service/JournalEntryReadPlatformServiceImpl.java
@@ -49,6 +49,7 @@ import org.apache.fineract.infrastructure.core.service.Page;
import org.apache.fineract.infrastructure.core.service.PaginationHelper;
import org.apache.fineract.infrastructure.core.service.RoutingDataSource;
import org.apache.fineract.infrastructure.core.service.SearchParameters;
+import org.apache.fineract.infrastructure.security.utils.ColumnValidator;
import org.apache.fineract.organisation.monetary.data.CurrencyData;
import org.apache.fineract.organisation.office.data.OfficeData;
import
org.apache.fineract.organisation.office.service.OfficeReadPlatformService;
@@ -74,18 +75,22 @@ public class JournalEntryReadPlatformServiceImpl implements
JournalEntryReadPlat
private final JdbcTemplate jdbcTemplate;
private final GLAccountReadPlatformService glAccountReadPlatformService;
private final OfficeReadPlatformService officeReadPlatformService;
+private final ColumnValidator columnValidator;
private final FinancialActivityAccountRepositoryWrapper
financialActivityAccountRepositoryWrapper;
private final PaginationHelper paginationHelper = new
PaginationHelper<>();
@Autowired
public JournalEntryReadPlatformServiceImpl(final RoutingDataSource
dataSource,
-final GLAccountReadPlatformService glAccountReadPlatformService,
final OfficeReadPlatformService officeReadPlatformService,
+final GLAccountReadPlatformService glAccountReadPlatformService,
+final ColumnValidator columnValidator,
+final OfficeReadPlatformService officeReadPlatformService,
final FinancialActivityAccountRepositoryWrapper
financialActivityAccountRepositoryWrapper) {
this.jdbcTemplate = new JdbcTemplate(dataSource);
this.glAccountReadPlatformService = glAccountReadPlatformService;
this.officeReadPlatformService = officeReadPlatformService;
this.financialActivityAccountRepositoryWrapper =
financialActivityAccountRepositoryWrapper;
+this.columnValidator = columnValidator;