我想为一个用我的自定义注释注释的方法更改主体。@塔吉特(ElementType.METHOD)@保留(RetentionPolicy.RUNTIME)公共@接口RunAsUser {}我编写了特殊处理程序:
@方面@Component public class RunAsUserAnnotationHandler {@After(“@注释(RunAsUser)”)公共configureAuthentication() {configureAuthentication}(“@注释(RunAsUser)”)公钥clearAuthentication() {Authent