You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess there is a bug in org.springframework.security.core.authority.AuthorityUtils.java
public static Set<String> authorityListToSet(
Collection<? extends GrantedAuthority> userAuthorities) {
/* No test parameters userAuthorities, it may be null and led to NullPointException */
Set<String> set = new HashSet<>(userAuthorities.size());
for (GrantedAuthority authority : userAuthorities) {
set.add(authority.getAuthority());
}
return set;
}