SystemManagement getTenantMetadata - fetch details, added method getTenantMetadataWithoutDetails (#2194)

Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2025-01-10 15:37:57 +02:00
committed by GitHub
parent 0e4efe0987
commit b294798ae5
19 changed files with 117 additions and 131 deletions

View File

@@ -103,7 +103,7 @@ public class MgmtSecurityConfiguration {
(request, response, chain) -> {
final Authentication authentication = SecurityContextHolder.getContext().getAuthentication();
if (authentication != null && authentication.isAuthenticated()) {
systemSecurityContext.runAsSystem(systemManagement::getTenantMetadata);
systemSecurityContext.runAsSystem(systemManagement::getTenantMetadataWithoutDetails);
}
chain.doFilter(request, response);
},