mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-07-06 10:42:33 +00:00
Fix variable targetClassToUse not used
Closes gh-15567
This commit is contained in:
parent
e39b39dada
commit
84fc5a70ee
@ -78,7 +78,7 @@ final class PostAuthorizeExpressionAttributeRegistry extends AbstractExpressionA
|
|||||||
|
|
||||||
private PostAuthorize findPostAuthorizeAnnotation(Method method, Class<?> targetClass) {
|
private PostAuthorize findPostAuthorizeAnnotation(Method method, Class<?> targetClass) {
|
||||||
Class<?> targetClassToUse = targetClass(method, targetClass);
|
Class<?> targetClassToUse = targetClass(method, targetClass);
|
||||||
return this.postAuthorizeSynthesizer.synthesize(method, targetClass);
|
return this.postAuthorizeSynthesizer.synthesize(method, targetClassToUse);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user