SEC-1384: Removed check for empty authority list from DefaultWebInvocationPrivilegeEvaluator.
The class previously rejected access if the user had no authorities. It will now allow the AccessDecisionManager to make the decision.
This commit is contained in:
parent
8720966d20
commit
984604b026
|
@ -129,7 +129,7 @@ public class DefaultWebInvocationPrivilegeEvaluator implements WebInvocationPriv
|
|||
return true;
|
||||
}
|
||||
|
||||
if (authentication == null || authentication.getAuthorities().isEmpty()) {
|
||||
if (authentication == null) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue