1
0
mirror of synced 2026-08-04 01:07:02 +00:00

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:
Luke Taylor
2010-01-28 17:10:10 +00:00
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;
}