From aa767560c673bad47f0a6b46a7bafd5e4f8729bc Mon Sep 17 00:00:00 2001 From: dhaura Date: Thu, 4 Jan 2024 12:29:29 +0530 Subject: [PATCH] Add X509CertificateAuthenticationValve into dropins --- modules/connectors/pom.xml | 23 +++++++++++++++++++ .../conf/tomcat/catalina-server.xml.j2 | 1 + pom.xml | 5 ++++ 3 files changed, 29 insertions(+) diff --git a/modules/connectors/pom.xml b/modules/connectors/pom.xml index d2a8884a301..4423daf189c 100644 --- a/modules/connectors/pom.xml +++ b/modules/connectors/pom.xml @@ -168,6 +168,29 @@ + + download_x509_valve + compile + + copy + + + + + org.wso2.carbon.extension.identity.x509certificate + + org.wso2.carbon.extension.identity.x509Certificate.valve + + ${org.wso2.carbon.extension.identity.x509certificate.version} + jar + true + ${basedir}/target/authenticatorCopied/jar + + **/*.jar + + + + diff --git a/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2 b/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2 index e32d0405d2a..2dca8ba4971 100644 --- a/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2 +++ b/modules/distribution/src/repository/resources/conf/templates/repository/conf/tomcat/catalina-server.xml.j2 @@ -106,6 +106,7 @@ {% endif %} + diff --git a/pom.xml b/pom.xml index 50062f1c623..0f9b18d83a3 100755 --- a/pom.xml +++ b/pom.xml @@ -1863,6 +1863,11 @@ org.wso2.carbon.extension.identity.x509Certificate.validation.server.feature ${org.wso2.carbon.extension.identity.x509certificate.version} + + org.wso2.carbon.extension.identity.x509certificate + org.wso2.carbon.extension.identity.x509Certificate.valve + ${org.wso2.carbon.extension.identity.x509certificate.version} + org.wso2.carbon.identity.conditional.auth.functions org.wso2.carbon.identity.conditional.auth.functions.server.feature