From 17c210e4b63bcfbafc097deabcab38cd9257efee Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Tue, 11 Dec 2012 15:58:32 +0000 Subject: [PATCH] fix ldapConnectionFactory initialize call when changing configuration git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1420237 13f79535-47bb-0310-9956-ffa450edef68 --- .../services/DefaultArchivaRuntimeConfigurationService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultArchivaRuntimeConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultArchivaRuntimeConfigurationService.java index d6fd3172d..05c0de45d 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultArchivaRuntimeConfigurationService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/DefaultArchivaRuntimeConfigurationService.java @@ -96,6 +96,8 @@ public class DefaultArchivaRuntimeConfigurationService userManager.initialize(); } + ldapConnectionFactory.initialize(); + return Boolean.TRUE; } catch ( RepositoryAdminException e ) @@ -132,8 +134,6 @@ public class DefaultArchivaRuntimeConfigurationService } } - ldapConnectionFactory.initialize(); - return informations; } }