Skip to content
Snippets Groups Projects
Verified Commit 96a2ac44 authored by Hugo Renard's avatar Hugo Renard
Browse files

log user role mapping errors

parent 8fbc0039
No related branches found
No related tags found
No related merge requests found
Pipeline #958 passed with stage
in 31 seconds
......@@ -105,6 +105,7 @@ public class UserAdapter extends Adapter<UserModel, UserResource> {
user.getRoleMappingsStream().filter((r) -> r.getFirstAttribute("scim").equals("true"))
.map((r) -> r.getName()).forEach(r -> rolesSet.add(r));
} catch (Exception e) {
LOGGER.error(e);
}
var roles = new String[rolesSet.size()];
rolesSet.toArray(roles);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment