PreInvocationAuthorizationAdviceVoter was checking the wrong type in its "supports" method.
This isn't actually used, but is still incorrect.
This commit is contained in:
parent
a573e7b395
commit
be8ee61f82
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue