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
@jzheaux I've just found AuthorityUtils#authorityListToSet method that does the same I did in getAuthoritySet, can I open another PR that will add this minor change?
evgeniycheban
added a commit
to evgeniycheban/spring-security
that referenced
this issue
May 10, 2022
Currently
AuthorityAuthorizationManager#isAuthorized
uses an inner loop to determine if user has required authority:It can be replaced with a
Set
of authority strings which will be more efficient becauseHashSet
has constant lookup time O(1).The text was updated successfully, but these errors were encountered: