The current implementation doesn't allow to support `MethodInvocation` - inherited classes : ````java @Override public boolean supports(Class<?> clazz) { return clazz.isAssignableFrom(MethodInvocation.class); } ```` Looks like the intention was the opposite : ````java @Override public boolean supports(Class<?> clazz) { return MethodInvocation.class.isAssignableFrom(clazz); } ```` Please change [here](https://github.com/spring-projects/spring-security/blob/006b9b960797d279b31cf8c8d16f1549c5632b2c/core/src/main/java/org/springframework/security/access/prepost/PostInvocationAdviceProvider.java#L76)