Merge branch 'master' into RED-6476

# Conflicts:
#	persistence-service-v1/persistence-service-processor-v1/src/main/java/com/iqser/red/service/persistence/management/v1/processor/service/TenantManagementService.java
This commit is contained in:
Viktor Seifert 2023-03-28 17:24:08 +02:00
commit 393527609d
2 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,7 @@ public class SecuredKeyCloakConfiguration extends KeycloakWebSecurityConfigurerA
"/redaction-gateway-v1/async/download/with-ott/**",
"/redaction-gateway-v1/docs/**",
"/redaction-gateway-v1/docs",
"/redaction-gateway-v1/tenants/simple",
"/redaction-gateway-v1",
"/internal-api/**");

View File

@ -61,6 +61,7 @@ public class HeaderBasedKeycloakRealmResolver implements KeycloakConfigResolver
// This seems to be a bug in PMD.
@SuppressWarnings("PMD.UnusedPrivateMethod")
@SneakyThrows
@SuppressWarnings("PMD.UnusedPrivateMethod")
private String getTenantFromBearerToken(HttpFacade.Request request) {
String authHeader = request.getHeader("Authorization");
@ -98,4 +99,4 @@ public class HeaderBasedKeycloakRealmResolver implements KeycloakConfigResolver
return values.get(values.size() - 1);
}
}
}