{"action":"created","comment":{"url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/comments/27907980","id":27907980,"diff_hunk":"@@ -0,0 +1,71 @@\n+\n+import java.util.Collection;\n+import java.util.HashSet;\n+\n+import org.springframework.security.core.GrantedAuthority;\n+import org.springframework.security.core.authority.SimpleGrantedAuthority;\n+import org.springframework.security.core.userdetails.UserDetails;\n+\n+public class User implements UserDetails {","path":"src/main/java/User.java","position":9,"original_position":9,"commit_id":"ae909c380d5ea534dabf7f3912d8eb8833966aa7","original_commit_id":"ae909c380d5ea534dabf7f3912d8eb8833966aa7","user":{"login":"carry-all","id":10577797,"avatar_url":"https://avatars.githubusercontent.com/u/10577797?v=3","gravatar_id":"","url":"https://api.github.com/users/carry-all","html_url":"https://github.com/carry-all","followers_url":"https://api.github.com/users/carry-all/followers","following_url":"https://api.github.com/users/carry-all/following{/other_user}","gists_url":"https://api.github.com/users/carry-all/gists{/gist_id}","starred_url":"https://api.github.com/users/carry-all/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carry-all/subscriptions","organizations_url":"https://api.github.com/users/carry-all/orgs","repos_url":"https://api.github.com/users/carry-all/repos","events_url":"https://api.github.com/users/carry-all/events{/privacy}","received_events_url":"https://api.github.com/users/carry-all/received_events","type":"User","site_admin":false},"body":"Is there a similar class inside Spring Security?","created_at":"2015-04-07T18:46:49Z","updated_at":"2015-04-07T18:46:49Z","html_url":"https://github.com/carry-all/fuzzy-octo-robot/pull/3#discussion_r27907980","pull_request_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/comments/27907980"},"html":{"href":"https://github.com/carry-all/fuzzy-octo-robot/pull/3#discussion_r27907980"},"pull_request":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3","id":31756560,"html_url":"https://github.com/carry-all/fuzzy-octo-robot/pull/3","diff_url":"https://github.com/carry-all/fuzzy-octo-robot/pull/3.diff","patch_url":"https://github.com/carry-all/fuzzy-octo-robot/pull/3.patch","issue_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/issues/3","number":3,"state":"closed","locked":false,"title":"add-Spring-Security-step-2","user":{"login":"BMorge","id":10956964,"avatar_url":"https://avatars.githubusercontent.com/u/10956964?v=3","gravatar_id":"","url":"https://api.github.com/users/BMorge","html_url":"https://github.com/BMorge","followers_url":"https://api.github.com/users/BMorge/followers","following_url":"https://api.github.com/users/BMorge/following{/other_user}","gists_url":"https://api.github.com/users/BMorge/gists{/gist_id}","starred_url":"https://api.github.com/users/BMorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BMorge/subscriptions","organizations_url":"https://api.github.com/users/BMorge/orgs","repos_url":"https://api.github.com/users/BMorge/repos","events_url":"https://api.github.com/users/BMorge/events{/privacy}","received_events_url":"https://api.github.com/users/BMorge/received_events","type":"User","site_admin":false},"body":"add context","created_at":"2015-03-23T17:46:58Z","updated_at":"2015-04-07T18:46:49Z","closed_at":"2015-03-29T16:05:27Z","merged_at":null,"merge_commit_sha":"56fbaceba92098b205fa2c8e97fe10abbf4111a0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3/commits","review_comments_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3/comments","review_comment_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/comments{/number}","comments_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/issues/3/comments","statuses_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/statuses/ae909c380d5ea534dabf7f3912d8eb8833966aa7","head":{"label":"BMorge:add-Spring-Security-step-2","ref":"add-Spring-Security-step-2","sha":"ae909c380d5ea534dabf7f3912d8eb8833966aa7","user":{"login":"BMorge","id":10956964,"avatar_url":"https://avatars.githubusercontent.com/u/10956964?v=3","gravatar_id":"","url":"https://api.github.com/users/BMorge","html_url":"https://github.com/BMorge","followers_url":"https://api.github.com/users/BMorge/followers","following_url":"https://api.github.com/users/BMorge/following{/other_user}","gists_url":"https://api.github.com/users/BMorge/gists{/gist_id}","starred_url":"https://api.github.com/users/BMorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BMorge/subscriptions","organizations_url":"https://api.github.com/users/BMorge/orgs","repos_url":"https://api.github.com/users/BMorge/repos","events_url":"https://api.github.com/users/BMorge/events{/privacy}","received_events_url":"https://api.github.com/users/BMorge/received_events","type":"User","site_admin":false},"repo":{"id":32251189,"name":"fuzzy-octo-robot","full_name":"BMorge/fuzzy-octo-robot","owner":{"login":"BMorge","id":10956964,"avatar_url":"https://avatars.githubusercontent.com/u/10956964?v=3","gravatar_id":"","url":"https://api.github.com/users/BMorge","html_url":"https://github.com/BMorge","followers_url":"https://api.github.com/users/BMorge/followers","following_url":"https://api.github.com/users/BMorge/following{/other_user}","gists_url":"https://api.github.com/users/BMorge/gists{/gist_id}","starred_url":"https://api.github.com/users/BMorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BMorge/subscriptions","organizations_url":"https://api.github.com/users/BMorge/orgs","repos_url":"https://api.github.com/users/BMorge/repos","events_url":"https://api.github.com/users/BMorge/events{/privacy}","received_events_url":"https://api.github.com/users/BMorge/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BMorge/fuzzy-octo-robot","description":"","fork":true,"url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot","forks_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/forks","keys_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/teams","hooks_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/hooks","issue_events_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/issues/events{/number}","events_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/events","assignees_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/assignees{/user}","branches_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/branches{/branch}","tags_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/tags","blobs_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/git/refs{/sha}","trees_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/statuses/{sha}","languages_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/languages","stargazers_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/stargazers","contributors_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/contributors","subscribers_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/subscribers","subscription_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/subscription","commits_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/commits{/sha}","git_commits_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/git/commits{/sha}","comments_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/comments{/number}","issue_comment_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/issues/comments{/number}","contents_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/contents/{+path}","compare_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/merges","archive_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/downloads","issues_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/issues{/number}","pulls_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/pulls{/number}","milestones_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/milestones{/number}","notifications_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/labels{/name}","releases_url":"https://api.github.com/repos/BMorge/fuzzy-octo-robot/releases{/id}","created_at":"2015-03-15T08:28:16Z","updated_at":"2015-03-15T08:28:16Z","pushed_at":"2015-04-01T12:19:52Z","git_url":"git://github.com/BMorge/fuzzy-octo-robot.git","ssh_url":"git@github.com:BMorge/fuzzy-octo-robot.git","clone_url":"https://github.com/BMorge/fuzzy-octo-robot.git","svn_url":"https://github.com/BMorge/fuzzy-octo-robot","homepage":null,"size":149,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"carry-all:master","ref":"master","sha":"bd73214f11b1f4f1f6204e1b904cb20a705a070f","user":{"login":"carry-all","id":10577797,"avatar_url":"https://avatars.githubusercontent.com/u/10577797?v=3","gravatar_id":"","url":"https://api.github.com/users/carry-all","html_url":"https://github.com/carry-all","followers_url":"https://api.github.com/users/carry-all/followers","following_url":"https://api.github.com/users/carry-all/following{/other_user}","gists_url":"https://api.github.com/users/carry-all/gists{/gist_id}","starred_url":"https://api.github.com/users/carry-all/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carry-all/subscriptions","organizations_url":"https://api.github.com/users/carry-all/orgs","repos_url":"https://api.github.com/users/carry-all/repos","events_url":"https://api.github.com/users/carry-all/events{/privacy}","received_events_url":"https://api.github.com/users/carry-all/received_events","type":"User","site_admin":false},"repo":{"id":31379434,"name":"fuzzy-octo-robot","full_name":"carry-all/fuzzy-octo-robot","owner":{"login":"carry-all","id":10577797,"avatar_url":"https://avatars.githubusercontent.com/u/10577797?v=3","gravatar_id":"","url":"https://api.github.com/users/carry-all","html_url":"https://github.com/carry-all","followers_url":"https://api.github.com/users/carry-all/followers","following_url":"https://api.github.com/users/carry-all/following{/other_user}","gists_url":"https://api.github.com/users/carry-all/gists{/gist_id}","starred_url":"https://api.github.com/users/carry-all/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carry-all/subscriptions","organizations_url":"https://api.github.com/users/carry-all/orgs","repos_url":"https://api.github.com/users/carry-all/repos","events_url":"https://api.github.com/users/carry-all/events{/privacy}","received_events_url":"https://api.github.com/users/carry-all/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/carry-all/fuzzy-octo-robot","description":"","fork":false,"url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot","forks_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/forks","keys_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/teams","hooks_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/hooks","issue_events_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/issues/events{/number}","events_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/events","assignees_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/assignees{/user}","branches_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/branches{/branch}","tags_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/tags","blobs_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/git/refs{/sha}","trees_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/statuses/{sha}","languages_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/languages","stargazers_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/stargazers","contributors_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/contributors","subscribers_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/subscribers","subscription_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/subscription","commits_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/commits{/sha}","git_commits_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/git/commits{/sha}","comments_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/comments{/number}","issue_comment_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/issues/comments{/number}","contents_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/contents/{+path}","compare_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/merges","archive_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/downloads","issues_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/issues{/number}","pulls_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls{/number}","milestones_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/milestones{/number}","notifications_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/labels{/name}","releases_url":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/releases{/id}","created_at":"2015-02-26T17:32:05Z","updated_at":"2015-03-15T20:51:43Z","pushed_at":"2015-04-01T12:19:54Z","git_url":"git://github.com/carry-all/fuzzy-octo-robot.git","ssh_url":"git@github.com:carry-all/fuzzy-octo-robot.git","clone_url":"https://github.com/carry-all/fuzzy-octo-robot.git","svn_url":"https://github.com/carry-all/fuzzy-octo-robot","homepage":null,"size":266,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3"},"html":{"href":"https://github.com/carry-all/fuzzy-octo-robot/pull/3"},"issue":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/issues/3"},"comments":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/carry-all/fuzzy-octo-robot/statuses/ae909c380d5ea534dabf7f3912d8eb8833966aa7"}}}}