From 070957290cd2dc94a1680acf753ebb57a3537131 Mon Sep 17 00:00:00 2001 From: lashini Date: Mon, 20 Jan 2025 12:26:32 +0530 Subject: [PATCH] Revamp fido2 endpoint to remove Spring dependency and bump fido version --- .../src/main/webapp/WEB-INF/beans.xml | 13 --------- .../src/main/webapp/WEB-INF/web.xml | 29 +++++++++++++++++++ pom.xml | 2 +- 3 files changed, 30 insertions(+), 14 deletions(-) diff --git a/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/beans.xml b/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/beans.xml index 0e84b3ce99..f9ac648131 100644 --- a/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/beans.xml +++ b/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/beans.xml @@ -65,7 +65,6 @@ - @@ -425,18 +424,6 @@ - - - - - - - - - - - - diff --git a/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/web.xml b/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/web.xml index ae1a5402cb..8201b44f4d 100644 --- a/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/web.xml +++ b/modules/api-resources/api-resources-full/src/main/webapp/WEB-INF/web.xml @@ -100,6 +100,35 @@ /identity/recovery/v0.9/* + + + UsersV2MeWebauthnApiServlet + + org.apache.cxf.jaxrs.servlet.CXFNonSpringJaxrsServlet + + 1 + + jaxrs.serviceClasses + + org.wso2.carbon.identity.application.authenticator.fido2.endpoint.DefaultApi, + org.wso2.carbon.identity.application.authenticator.fido2.endpoint.FinishRegistrationApi, + org.wso2.carbon.identity.application.authenticator.fido2.endpoint.StartRegistrationApi, + org.wso2.carbon.identity.application.authenticator.fido2.endpoint.StartUsernamelessRegistrationApi, + org.wso2.carbon.identity.application.authenticator.fido2.endpoint.CredentialIdApi + + + + jaxrs.providers + + com.fasterxml.jackson.jaxrs.json.JacksonJsonProvider + + + + + UsersV2MeWebauthnApiServlet + /users/v2/me/webauthn/* + + CXFServlet diff --git a/pom.xml b/pom.xml index 89bbd009a7..0d44d84ed3 100755 --- a/pom.xml +++ b/pom.xml @@ -2438,7 +2438,7 @@ 6.8.18 - 5.4.16 + 5.4.17 5.4.8