From eff8fce2f0788befaf1fa271a29953a992b523bb Mon Sep 17 00:00:00 2001 From: Nipuni Paaris Date: Mon, 9 Dec 2024 16:16:50 +0530 Subject: [PATCH] [Spring Cleanup] Remove Spring dependencies in authenticator management API (#688) * Remove Spring dependencies in authenticator management API * Resolve PR comments * Refactor ServerAuthenticatorManagementServiceFactory class --- .../pom.xml | 9 +-- .../common/AuthenticatorsServiceHolder.java | 79 ++++++++----------- .../ApplicationMgtOSGIServiceFactory.java | 51 ------------ .../factory/IdPMgtOSGIServiceFactory.java | 51 ------------ .../pom.xml | 15 ++-- .../authenticators/v1/AuthenticatorsApi.java | 40 ++++++---- .../AuthenticatorsApiServiceFactory.java | 42 ++++++---- .../ServerAuthenticatorManagementService.java | 53 +++++++------ ...AuthenticatorManagementServiceFactory.java | 77 ++++++++++++++++++ .../v1/impl/AuthenticatorsApiServiceImpl.java | 44 +++++++---- .../cxf/authenticators-server-v1-cxf.xml | 30 ------- 11 files changed, 222 insertions(+), 269 deletions(-) delete mode 100644 components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.common/src/main/java/org/wso2/carbon/identity/api/server/authenticators/common/factory/ApplicationMgtOSGIServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.common/src/main/java/org/wso2/carbon/identity/api/server/authenticators/common/factory/IdPMgtOSGIServiceFactory.java create mode 100644 components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.v1/src/main/java/org/wso2/carbon/identity/api/server/authenticators/v1/factories/ServerAuthenticatorManagementServiceFactory.java delete mode 100644 components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.v1/src/main/resources/META-INF/cxf/authenticators-server-v1-cxf.xml diff --git a/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.common/pom.xml b/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.common/pom.xml index 17cc2d5484..2d7ebe926e 100644 --- a/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.common/pom.xml +++ b/components/org.wso2.carbon.identity.api.server.authenticators/org.wso2.carbon.identity.api.server.authenticators.common/pom.xml @@ -1,8 +1,8 @@ - - - - - - - - - - -