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
1 changed files with 1 additions and 1 deletions

View File

@ -129,7 +129,7 @@ public class DefaultWebInvocationPrivilegeEvaluator implements WebInvocationPriv
return true;
}
if (authentication == null || authentication.getAuthorities().isEmpty()) {
if (authentication == null) {
return false;
}