From f4a130e2c5cc710f87044b62f5c020700c1b8fe1 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 10 Aug 2011 19:17:50 +0000 Subject: [PATCH] [MRM-1481] Ability to do user management through xmlrpc Submitted by Maria Catherine Tan git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1156322 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-web/archiva-webapp/pom.xml | 10 +++++ .../webapp/WEB-INF/applicationContext.xml | 42 +++++++++++++++++++ .../src/main/webapp/WEB-INF/web.xml | 22 ++++++++++ pom.xml | 10 +++++ 4 files changed, 84 insertions(+) diff --git a/archiva-modules/archiva-web/archiva-webapp/pom.xml b/archiva-modules/archiva-web/archiva-webapp/pom.xml index 30e2ab252..377bfdf98 100644 --- a/archiva-modules/archiva-web/archiva-webapp/pom.xml +++ b/archiva-modules/archiva-web/archiva-webapp/pom.xml @@ -226,6 +226,16 @@ org.codehaus.redback redback-common-integrations + + org.codehaus.redback + redback-xmlrpc-services + runtime + + + org.codehaus.redback + redback-xmlrpc-security + runtime + org.apache.archiva diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml index 857c4d9ec..6a2d98c39 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml @@ -68,7 +68,33 @@ + + + + + + + + + + + + + + + + + + + + + @@ -86,6 +112,22 @@ + + + + + + + + + + + + + + + + diff --git a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml index 10ed5aaaf..7d24f88c0 100644 --- a/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml +++ b/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/web.xml @@ -122,6 +122,23 @@ 1 + + RedbackXmlRpcServlet + com.atlassian.xmlrpc.spring.BinderSpringXmlRpcServlet + + serviceListBeanName + redbackXmlrpcServicesList + + + authHandlerBeanName + redbackXmlRpcAuthenticator + + + enabledForExtensions + true + + + RssFeedServlet @@ -144,6 +161,11 @@ /xmlrpc + + RedbackXmlRpcServlet + /redback-xmlrpc + + jdbc/users javax.sql.DataSource diff --git a/pom.xml b/pom.xml index 427460719..f944fb288 100644 --- a/pom.xml +++ b/pom.xml @@ -820,6 +820,16 @@ + + org.codehaus.redback + redback-xmlrpc-services + ${redback.version} + + + org.codehaus.redback + redback-xmlrpc-security + ${redback.version} +