{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-session/issues/257","labels_url":"https://api.github.com/repos/spring-projects/spring-session/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-session/issues/257/comments","events_url":"https://api.github.com/repos/spring-projects/spring-session/issues/257/events","html_url":"https://github.com/spring-projects/spring-session/issues/257","id":98974988,"number":257,"title":"Indicate cause of SessionDestroyedEvent","user":{"login":"manderson23","id":1684641,"avatar_url":"https://avatars.githubusercontent.com/u/1684641?v=3","gravatar_id":"","url":"https://api.github.com/users/manderson23","html_url":"https://github.com/manderson23","followers_url":"https://api.github.com/users/manderson23/followers","following_url":"https://api.github.com/users/manderson23/following{/other_user}","gists_url":"https://api.github.com/users/manderson23/gists{/gist_id}","starred_url":"https://api.github.com/users/manderson23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manderson23/subscriptions","organizations_url":"https://api.github.com/users/manderson23/orgs","repos_url":"https://api.github.com/users/manderson23/repos","events_url":"https://api.github.com/users/manderson23/events{/privacy}","received_events_url":"https://api.github.com/users/manderson23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-04T13:50:09Z","updated_at":"2015-08-09T20:24:34Z","closed_at":null,"body":"I have a use case where I need to audit log in reaction to login/logout/session timeout etc.\r\n\r\nCurrently you do not know whether SessionDestroyedEvent was caused by a delete or expiry. Would you be open to extending SessionDestroyedEvent to support this? Two options I can think of are\r\n\r\n1. Add a Cause enum to SessionDestroyedEvent with values DELETE/EXPIRED\r\n2. Add SessionExpiredEvent that extends SessionDestroyedEvent\r\n\r\nI'm implementing this myself for now and I'm happy to do so going forward but through I would raise it in case it was viewed as a useful feature to go into the library itself."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-session/issues/comments/129234830","html_url":"https://github.com/spring-projects/spring-session/issues/257#issuecomment-129234830","issue_url":"https://api.github.com/repos/spring-projects/spring-session/issues/257","id":129234830,"user":{"login":"manderson23","id":1684641,"avatar_url":"https://avatars.githubusercontent.com/u/1684641?v=3","gravatar_id":"","url":"https://api.github.com/users/manderson23","html_url":"https://github.com/manderson23","followers_url":"https://api.github.com/users/manderson23/followers","following_url":"https://api.github.com/users/manderson23/following{/other_user}","gists_url":"https://api.github.com/users/manderson23/gists{/gist_id}","starred_url":"https://api.github.com/users/manderson23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/manderson23/subscriptions","organizations_url":"https://api.github.com/users/manderson23/orgs","repos_url":"https://api.github.com/users/manderson23/repos","events_url":"https://api.github.com/users/manderson23/events{/privacy}","received_events_url":"https://api.github.com/users/manderson23/received_events","type":"User","site_admin":false},"created_at":"2015-08-09T20:24:34Z","updated_at":"2015-08-09T20:24:34Z","body":"@rwinch Do you need Redis running locally for the `./gradlew check` integration tests to pass?"}}