RED-4515 - tenants endpoint public
This commit is contained in:
parent
1b58c2603f
commit
3b9e212ece
@ -58,6 +58,7 @@ public class HeaderBasedKeycloakRealmResolver implements KeycloakConfigResolver
|
||||
|
||||
|
||||
@SneakyThrows
|
||||
@SuppressWarnings("PMD.UnusedPrivateMethod")
|
||||
private String getTenantFromBearerToken(HttpFacade.Request request) {
|
||||
|
||||
String authHeader = request.getHeader("Authorization");
|
||||
@ -95,4 +96,4 @@ public class HeaderBasedKeycloakRealmResolver implements KeycloakConfigResolver
|
||||
return values.get(values.size() - 1);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -87,8 +87,6 @@ public class TenantManagementService {
|
||||
private final GeneralConfigurationService generalConfigurationService;
|
||||
private final KeyCloakRoleManagerService keyCloakRoleManagerService;
|
||||
private final KeyCloakAdminClientService keycloak;
|
||||
private final KeyCloakSettings keyCloakSettings;
|
||||
|
||||
|
||||
public TenantManagementService(EncryptionDecryptionService encryptionService,
|
||||
@Qualifier("tenantLiquibaseProperties") LiquibaseProperties liquibaseProperties,
|
||||
@ -97,8 +95,7 @@ public class TenantManagementService {
|
||||
AsyncMigrationStarterService asyncMigrationStarterService,
|
||||
GeneralConfigurationService generalConfigurationService,
|
||||
KeyCloakRoleManagerService keyCloakRoleManagerService,
|
||||
KeyCloakAdminClientService keycloak,
|
||||
KeyCloakSettings keyCloakSettings) {
|
||||
KeyCloakAdminClientService keycloak) {
|
||||
|
||||
this.encryptionService = encryptionService;
|
||||
this.liquibaseProperties = liquibaseProperties;
|
||||
@ -108,7 +105,6 @@ public class TenantManagementService {
|
||||
this.generalConfigurationService = generalConfigurationService;
|
||||
this.keyCloakRoleManagerService = keyCloakRoleManagerService;
|
||||
this.keycloak = keycloak;
|
||||
this.keyCloakSettings = keyCloakSettings;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user