private List<String> extractUserRoles(Map<String, Object> map) {
        List<String> result = new ArrayList<>();
        for (String[] rolePath : rolePaths) {
            result.addAll(extractUserRoles(map, rolePath));
        }
        return result;
    }
The path to the claim to extract user display name
server/src/main/java/com/epam/aidial/core/server/security/IdentityProvider.java