0

I want to listen on logout/timeout and set lastSeen to User object. How can I achieve this?

I saw and tried this answer, but it's for Spring MVC and it didn't work for me in JSF. I'm using MyFaces 2.2, Spring 4 and Spring Security 3.5.

Community
  • 1
  • 1
erginduran
  • 1,678
  • 5
  • 28
  • 51
  • You might need to expand your question, but you shouldn't need anything fancy to do this. a simple [`HttpSessionListener`](http://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpSessionListener.html) should suffice – kolossus Jun 14 '15 at 22:43
  • That should work in your environment as well, this has nothing to do with Spring MVC. It is a Spring Application listener which works in any spring based environment. – M. Deinum Jun 15 '15 at 08:11

0 Answers0