{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-session/issues/177","labels_url":"https://api.github.com/repos/spring-projects/spring-session/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-session/issues/177/comments","events_url":"https://api.github.com/repos/spring-projects/spring-session/issues/177/events","html_url":"https://github.com/spring-projects/spring-session/issues/177","id":64364894,"number":177,"title":"Mutable rich session objects don't work with session's saveDelta()","user":{"login":"brentonr","id":634701,"avatar_url":"https://avatars.githubusercontent.com/u/634701?v=3","gravatar_id":"","url":"https://api.github.com/users/brentonr","html_url":"https://github.com/brentonr","followers_url":"https://api.github.com/users/brentonr/followers","following_url":"https://api.github.com/users/brentonr/following{/other_user}","gists_url":"https://api.github.com/users/brentonr/gists{/gist_id}","starred_url":"https://api.github.com/users/brentonr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brentonr/subscriptions","organizations_url":"https://api.github.com/users/brentonr/orgs","repos_url":"https://api.github.com/users/brentonr/repos","events_url":"https://api.github.com/users/brentonr/events{/privacy}","received_events_url":"https://api.github.com/users/brentonr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-session/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":{"login":"rwinch","id":362503,"avatar_url":"https://avatars.githubusercontent.com/u/362503?v=3","gravatar_id":"","url":"https://api.github.com/users/rwinch","html_url":"https://github.com/rwinch","followers_url":"https://api.github.com/users/rwinch/followers","following_url":"https://api.github.com/users/rwinch/following{/other_user}","gists_url":"https://api.github.com/users/rwinch/gists{/gist_id}","starred_url":"https://api.github.com/users/rwinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwinch/subscriptions","organizations_url":"https://api.github.com/users/rwinch/orgs","repos_url":"https://api.github.com/users/rwinch/repos","events_url":"https://api.github.com/users/rwinch/events{/privacy}","received_events_url":"https://api.github.com/users/rwinch/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-03-25T20:25:35Z","updated_at":"2015-04-16T14:54:30Z","closed_at":"2015-04-15T14:58:04Z","body":"When a mutable object is referenced in a fetched session, and that object is modified, the attribute is never put into the delta list for saving to redis.\r\n\r\nThis was observed using ```spring-session``` with ```spring-security-oauth2```, specifically with ```org.springframework.security.oauth2.provider.endpoint.AuthorizationEndpoint``` and it's ```@SessionAttrtibutes(\"authorizationRequest\")``` annotation. While the authorizationRequest object (map in this case) is modified, the attribute \"authorizationRequest\" is not entered into the delta. On a subsequent POST, the request is unauthorized because the authorizationRequest map is not up to date in the session."},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-session/issues/comments/93754916","html_url":"https://github.com/spring-projects/spring-session/issues/177#issuecomment-93754916","issue_url":"https://api.github.com/repos/spring-projects/spring-session/issues/177","id":93754916,"user":{"login":"rwinch","id":362503,"avatar_url":"https://avatars.githubusercontent.com/u/362503?v=3","gravatar_id":"","url":"https://api.github.com/users/rwinch","html_url":"https://github.com/rwinch","followers_url":"https://api.github.com/users/rwinch/followers","following_url":"https://api.github.com/users/rwinch/following{/other_user}","gists_url":"https://api.github.com/users/rwinch/gists{/gist_id}","starred_url":"https://api.github.com/users/rwinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwinch/subscriptions","organizations_url":"https://api.github.com/users/rwinch/orgs","repos_url":"https://api.github.com/users/rwinch/repos","events_url":"https://api.github.com/users/rwinch/events{/privacy}","received_events_url":"https://api.github.com/users/rwinch/received_events","type":"User","site_admin":false},"created_at":"2015-04-16T14:54:30Z","updated_at":"2015-04-16T14:54:30Z","body":"@brentonr I think your problem seems to be similar to #52 Can you try the advise there?"}}