Enhanced debug logging in SecurityConfig to include group names explicitly.
This commit is contained in:
parent
e65f0deed2
commit
83e007088c
1 changed files with 1 additions and 1 deletions
|
|
@ -292,7 +292,7 @@ public class SecurityConfig {
|
|||
}
|
||||
|
||||
if (user != null) {
|
||||
user.getGroups().forEach(g -> log.debug("Local group: {}", g));
|
||||
user.getGroups().forEach(g -> log.debug("Local group: {}", g.getName()));
|
||||
user.getGroups().forEach(group -> mappedAuthorities.add(new SimpleGrantedAuthority("ROLE_" + group.getName().toUpperCase())));
|
||||
userId = user.getId();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue