【发布时间】:2010-08-09 01:26:48
【问题描述】:
是否可以创建自定义 @Aspect 并将其应用于 Spring Security (3.0.3) 中的类/方法?
我正在尝试记录一些登录/注销请求,但我的任何建议都没有被触发。
我正在使用@AspectJ 注释,下面是我如何装饰我的方法:
@After("execution (* org.springframework.security.authentication.ProviderManager.doAuthentication(..))")
【问题讨论】:
标签: spring spring-security aop spring-aop