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; } }