java - Aspect is not intercepting HttpStatusReturningLogoutSuccessHandler.onLogoutSuccess() method -


i trying log users login , logout activity, able intercept login using pointcut expression org.springframework.security.web.authentication.authenticationsuccesshandler.onauthenticationsuccess().

but logout activity doesn't intercept using pointcut expression org.springframework.security.web.authentication.logout.httpstatusreturninglogoutsuccesshandler.onlogoutsuccess()

below loglogoutactivity()

@after("execution(* org.springframework.security.web.authentication.logout.httpstatusreturninglogoutsuccesshandler.onlogoutsuccess(..))")      @transactional     public void loglogoutactivity(joinpoint joinpoint) throws throwable {                    preparelogandsave(historylogcode.logged_out.getid(),                  historylogcode.logged_out.getvalue(), "successfully logged out.");     } 

does know how log logout activity? btw, using spring security authenticate users. in advanced.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -