Delegate calls of hasAuthority to AuthorizationManager#hasAuthority
Closes gh-18486 Signed-off-by: Michael Lück <michael@lueckonline.net>
This commit is contained in:
committed by
Josh Cummings
parent
c29af014f4
commit
3a14745d92
+1
-1
@@ -116,7 +116,7 @@ public abstract class SecurityExpressionRoot<T extends @Nullable Object> impleme
|
||||
|
||||
@Override
|
||||
public final boolean hasAuthority(String authority) {
|
||||
return isGranted(this.authorizationManagerFactory.hasAnyAuthority(authority));
|
||||
return isGranted(this.authorizationManagerFactory.hasAuthority(authority));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user