SystemManagement getTenantMetadata - fetch details, added method getTenantMetadataWithoutDetails (#2194)
Signed-off-by: Avgustin Marinov <Avgustin.Marinov@bosch.com>
This commit is contained in:
@@ -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);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user