From 54c790e2d956a94a1e1624554d5c76c982a87e18 Mon Sep 17 00:00:00 2001 From: khuddus shariff Date: Sat, 14 Sep 2024 11:26:07 +0530 Subject: [PATCH] [ MOSIP-35499 ] removed keyGenretor Bean (#1919) * Merge pull request #1916 from Khuddusshariff0022/develop-comp-scan1 [ MOSIP-35499 ] removed keyGenretor Bean Signed-off-by: khuddus shariff * [ MOSIP-35499 ] Removed KeyGenerator Bean (#1915) * removed key manager Signed-off-by: khuddus shariff * removed keyGenretor Bean Signed-off-by: khuddus shariff * removed keyGenretor Bean Signed-off-by: khuddus shariff --------- Signed-off-by: khuddus shariff --------- Signed-off-by: khuddus shariff Co-authored-by: Chandra Keshav Mishra --- .../authentication/config/BiometricAuthConfigBean.java | 5 ----- .../packet/storage/config/PacketStorageBeanConfig.java | 5 ----- 2 files changed, 10 deletions(-) diff --git a/registration-processor/core-processor/registration-processor-biometric-authentication-stage/src/main/java/io/mosip/registration/processor/biometric/authentication/config/BiometricAuthConfigBean.java b/registration-processor/core-processor/registration-processor-biometric-authentication-stage/src/main/java/io/mosip/registration/processor/biometric/authentication/config/BiometricAuthConfigBean.java index 605d8c078f8..187d2adf236 100644 --- a/registration-processor/core-processor/registration-processor-biometric-authentication-stage/src/main/java/io/mosip/registration/processor/biometric/authentication/config/BiometricAuthConfigBean.java +++ b/registration-processor/core-processor/registration-processor-biometric-authentication-stage/src/main/java/io/mosip/registration/processor/biometric/authentication/config/BiometricAuthConfigBean.java @@ -12,7 +12,6 @@ import io.mosip.kernel.biosdk.provider.factory.BioAPIFactory; import io.mosip.kernel.core.crypto.spi.CryptoCoreSpec; import io.mosip.kernel.crypto.jce.core.CryptoCore; -import io.mosip.kernel.keygenerator.bouncycastle.KeyGenerator; import io.mosip.registration.processor.packet.storage.utils.BioSdkUtil; @Configuration @@ -23,10 +22,6 @@ public BioSdkUtil getBioSdkUtil() { return new BioSdkUtil(); } - @Bean - public KeyGenerator getKeyGenerator() { - return new KeyGenerator(); - } @Bean @Primary diff --git a/registration-processor/registration-processor-info-storage-service/src/main/java/io/mosip/registration/processor/packet/storage/config/PacketStorageBeanConfig.java b/registration-processor/registration-processor-info-storage-service/src/main/java/io/mosip/registration/processor/packet/storage/config/PacketStorageBeanConfig.java index 5bef45dfed6..b399548cba7 100644 --- a/registration-processor/registration-processor-info-storage-service/src/main/java/io/mosip/registration/processor/packet/storage/config/PacketStorageBeanConfig.java +++ b/registration-processor/registration-processor-info-storage-service/src/main/java/io/mosip/registration/processor/packet/storage/config/PacketStorageBeanConfig.java @@ -27,7 +27,6 @@ import io.mosip.kernel.crypto.jce.core.CryptoCore; import io.mosip.kernel.dataaccess.hibernate.config.HibernateDaoConfig; import io.mosip.kernel.dataaccess.hibernate.repository.impl.HibernateRepositoryImpl; -import io.mosip.kernel.keygenerator.bouncycastle.KeyGenerator; import io.mosip.registration.processor.core.packet.dto.Identity; import io.mosip.registration.processor.core.spi.packetmanager.PacketInfoManager; import io.mosip.registration.processor.packet.manager.idreposervice.IdRepoService; @@ -98,10 +97,6 @@ public BioSdkUtil getBioSdkUtil() { } - @Bean - public KeyGenerator getKeyGenerator() { - return new KeyGenerator(); - } @Bean @Primary