Move default TenantResolver registration in hawkbit-core (#2778)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -58,12 +58,6 @@ import org.springframework.util.CollectionUtils;
|
||||
@Import(RepositoryConfiguration.class)
|
||||
public class SecurityAutoConfiguration {
|
||||
|
||||
@Bean
|
||||
@ConditionalOnMissingBean
|
||||
public TenantResolver tenantResolver() {
|
||||
return new DefaultTenantResolver();
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a {@link ContextAware} (hence {@link TenantAware}) bean based on the given {@link UserAuthoritiesResolver},
|
||||
* {@link SecurityContextSerializer} and {@link TenantResolver}.
|
||||
|
||||
Reference in New Issue
Block a user