Capture successful login with AspectJ and Spring Security
问题 i'm using spring security and AspectJ to log application's behavior. I need to capture a successful login and log it. My spring security configuration: <security:http auto-config="true" authentication-manager-ref="authenticationManager" use-expressions="true"> <security:intercept-url pattern="/login" access="permitAll"/> <security:intercept-url pattern="/loginFailed" access="permitAll"/> <security:intercept-url pattern="/viewUserAccounts" access="hasRole('ROLE_ANTANI')" /> <security:intercept