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
Post a Comment