mirror of https://github.com/apache/archiva.git
user can change only the order of userManagerImpls so take care of that
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1419578 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
48deda62b1
commit
07565fa15f
|
@ -76,6 +76,11 @@ public class DefaultArchivaRuntimeConfigurationService
|
|||
// has user manager impl changed ?
|
||||
boolean userManagerChanged = archivaRuntimeConfiguration.getUserManagerImpls().size()
|
||||
!= archivaRuntimeConfigurationAdmin.getArchivaRuntimeConfiguration().getUserManagerImpls().size();
|
||||
|
||||
userManagerChanged =
|
||||
userManagerChanged || ( archivaRuntimeConfiguration.getUserManagerImpls().toString().hashCode()
|
||||
!= archivaRuntimeConfigurationAdmin.getArchivaRuntimeConfiguration().getUserManagerImpls().toString().hashCode() );
|
||||
|
||||
archivaRuntimeConfigurationAdmin.updateArchivaRuntimeConfiguration( archivaRuntimeConfiguration );
|
||||
|
||||
if ( userManagerChanged )
|
||||
|
|
Loading…
Reference in New Issue