Remove MultitenancyIndicator as not used (#1787)

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-07-26 09:34:11 +03:00
committed by GitHub
parent 950ed398cc
commit 6b8917e229
2 changed files with 0 additions and 42 deletions

View File

@@ -9,7 +9,6 @@
*/
package org.eclipse.hawkbit.autoconfigure.security;
import org.eclipse.hawkbit.im.authentication.MultitenancyIndicator;
import org.eclipse.hawkbit.im.authentication.StaticAuthenticationProvider;
import org.eclipse.hawkbit.im.authentication.TenantAwareUserProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
@@ -46,13 +45,4 @@ public class InMemoryUserManagementAutoConfiguration extends GlobalAuthenticatio
public void configure(final AuthenticationManagerBuilder auth) {
auth.authenticationProvider(authenticationProvider);
}
/**
* @return the multi-tenancy indicator to disallow multi-tenancy
*/
@Bean
@ConditionalOnMissingBean
MultitenancyIndicator multiTenancyIndicator() {
return () -> false;
}
}