log user role mapping errors
This commit is contained in:
parent
8fbc003918
commit
96a2ac44fc
1 changed files with 1 additions and 0 deletions
|
@ -105,6 +105,7 @@ public class UserAdapter extends Adapter<UserModel, UserResource> {
|
||||||
user.getRoleMappingsStream().filter((r) -> r.getFirstAttribute("scim").equals("true"))
|
user.getRoleMappingsStream().filter((r) -> r.getFirstAttribute("scim").equals("true"))
|
||||||
.map((r) -> r.getName()).forEach(r -> rolesSet.add(r));
|
.map((r) -> r.getName()).forEach(r -> rolesSet.add(r));
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
LOGGER.error(e);
|
||||||
}
|
}
|
||||||
var roles = new String[rolesSet.size()];
|
var roles = new String[rolesSet.size()];
|
||||||
rolesSet.toArray(roles);
|
rolesSet.toArray(roles);
|
||||||
|
|
Loading…
Reference in a new issue