mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 13:53:14 +00:00
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) {
|
public boolean supports(ConfigAttribute attribute) {
|
||||||
return attribute instanceof PreInvocationAuthorizationAdvice;
|
return attribute instanceof PreInvocationAttribute;
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean supports(Class<?> clazz) {
|
public boolean supports(Class<?> clazz) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user