]> source.dussan.org Git - archiva.git/commitdiff
Adding ldapfactory refresh after config update
authorMartin Stockhammer <martin_s@apache.org>
Sun, 17 Jan 2021 18:43:14 +0000 (19:43 +0100)
committerMartin Stockhammer <martin_s@apache.org>
Sun, 17 Jan 2021 18:43:14 +0000 (19:43 +0100)
archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/main/java/org/apache/archiva/rest/services/v2/DefaultSecurityConfigurationService.java

index c8f9c6007e5e4aa28139c97d9ef156a5f5a28d89..dd9a3f8b6d4b39a1c758eb32e32ac5bb259b7f5b 100644 (file)
@@ -442,6 +442,7 @@ public class DefaultSecurityConfigurationService implements SecurityConfiguratio
             updateConfig( configuration, redbackRuntimeConfiguration );
 
             redbackRuntimeConfigurationAdmin.updateRedbackRuntimeConfiguration( redbackRuntimeConfiguration );
+            ldapConnectionFactory.initialize( );
         }
         catch ( RepositoryAdminException e )
         {