PreInvocationAuthorizationAdviceVoter was checking the wrong type in its "supports" method.

This isn't actually used, but is still incorrect.
This commit is contained in:
Luke Taylor 2011-09-24 13:13:38 +01:00
parent a573e7b395
commit be8ee61f82
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ public class PreInvocationAuthorizationAdviceVoter implements AccessDecisionVote
}
public boolean supports(ConfigAttribute attribute) {
return attribute instanceof PreInvocationAuthorizationAdvice;
return attribute instanceof PreInvocationAttribute;
}
public boolean supports(Class<?> clazz) {