{"action":"created","comment":{"url":"https://api.github.com/repos/Jasig/cas/pulls/comments/28865150","id":28865150,"diff_hunk":"@@ -68,7 +68,12 @@\n     @Lob\n     @Column(name=\"SERVICES_GRANTED_ACCESS_TO\", nullable=false)\n     private final HashMap<String,Service> services = new HashMap<String, Service>();\n-    \n+\n+    /** Service that produced a proxy-granting ticket. */\n+    @Column(name=\"PROXIED_BY\", nullable=true)\n+    private String proxiedBy;","path":"cas-server-core/src/main/java/org/jasig/cas/ticket/TicketGrantingTicketImpl.java","position":8,"original_position":8,"commit_id":"135d2cb3d37b1613c4426dba2b62ecc0c035d771","original_commit_id":"135d2cb3d37b1613c4426dba2b62ecc0c035d771","user":{"login":"serac","id":111432,"avatar_url":"https://avatars.githubusercontent.com/u/111432?v=3","gravatar_id":"","url":"https://api.github.com/users/serac","html_url":"https://github.com/serac","followers_url":"https://api.github.com/users/serac/followers","following_url":"https://api.github.com/users/serac/following{/other_user}","gists_url":"https://api.github.com/users/serac/gists{/gist_id}","starred_url":"https://api.github.com/users/serac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serac/subscriptions","organizations_url":"https://api.github.com/users/serac/orgs","repos_url":"https://api.github.com/users/serac/repos","events_url":"https://api.github.com/users/serac/events{/privacy}","received_events_url":"https://api.github.com/users/serac/received_events","type":"User","site_admin":false},"body":"It's not set in all cases -- there's a no-arg constructor. Also, it's consistent with other non-collection fields.","created_at":"2015-04-22T11:53:10Z","updated_at":"2015-04-22T11:53:10Z","html_url":"https://github.com/Jasig/cas/pull/933#discussion_r28865150","pull_request_url":"https://api.github.com/repos/Jasig/cas/pulls/933","_links":{"self":{"href":"https://api.github.com/repos/Jasig/cas/pulls/comments/28865150"},"html":{"href":"https://github.com/Jasig/cas/pull/933#discussion_r28865150"},"pull_request":{"href":"https://api.github.com/repos/Jasig/cas/pulls/933"}}},"pull_request":{"url":"https://api.github.com/repos/Jasig/cas/pulls/933","id":33708210,"html_url":"https://github.com/Jasig/cas/pull/933","diff_url":"https://github.com/Jasig/cas/pull/933.diff","patch_url":"https://github.com/Jasig/cas/pull/933.patch","issue_url":"https://api.github.com/repos/Jasig/cas/issues/933","number":933,"state":"open","locked":false,"title":"Issue #904 Fix scope of allowedToProxy flag.","user":{"login":"serac","id":111432,"avatar_url":"https://avatars.githubusercontent.com/u/111432?v=3","gravatar_id":"","url":"https://api.github.com/users/serac","html_url":"https://github.com/serac","followers_url":"https://api.github.com/users/serac/followers","following_url":"https://api.github.com/users/serac/following{/other_user}","gists_url":"https://api.github.com/users/serac/gists{/gist_id}","starred_url":"https://api.github.com/users/serac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serac/subscriptions","organizations_url":"https://api.github.com/users/serac/orgs","repos_url":"https://api.github.com/users/serac/repos","events_url":"https://api.github.com/users/serac/events{/privacy}","received_events_url":"https://api.github.com/users/serac/received_events","type":"User","site_admin":false},"body":"A new field, proxiedBy, is introduced on TicketGrantingTicket to track the service that generates a proxy-granting ticket to facilitate looking up the corresponding RegisteredService at the time proxy tickets are issued. The allowedToProxy flag on the proxiedBy service determines whether or not the proxy ticket request can proceed.","created_at":"2015-04-20T21:28:57Z","updated_at":"2015-04-22T11:53:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ebb826a25c269795981fb8206f14146ba5f8cf2","assignee":{"login":"mmoayyed","id":1205228,"avatar_url":"https://avatars.githubusercontent.com/u/1205228?v=3","gravatar_id":"","url":"https://api.github.com/users/mmoayyed","html_url":"https://github.com/mmoayyed","followers_url":"https://api.github.com/users/mmoayyed/followers","following_url":"https://api.github.com/users/mmoayyed/following{/other_user}","gists_url":"https://api.github.com/users/mmoayyed/gists{/gist_id}","starred_url":"https://api.github.com/users/mmoayyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmoayyed/subscriptions","organizations_url":"https://api.github.com/users/mmoayyed/orgs","repos_url":"https://api.github.com/users/mmoayyed/repos","events_url":"https://api.github.com/users/mmoayyed/events{/privacy}","received_events_url":"https://api.github.com/users/mmoayyed/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Jasig/cas/pulls/933/commits","review_comments_url":"https://api.github.com/repos/Jasig/cas/pulls/933/comments","review_comment_url":"https://api.github.com/repos/Jasig/cas/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Jasig/cas/issues/933/comments","statuses_url":"https://api.github.com/repos/Jasig/cas/statuses/135d2cb3d37b1613c4426dba2b62ecc0c035d771","head":{"label":"serac:3.6.x-proxy-authz-fix","ref":"3.6.x-proxy-authz-fix","sha":"135d2cb3d37b1613c4426dba2b62ecc0c035d771","user":{"login":"serac","id":111432,"avatar_url":"https://avatars.githubusercontent.com/u/111432?v=3","gravatar_id":"","url":"https://api.github.com/users/serac","html_url":"https://github.com/serac","followers_url":"https://api.github.com/users/serac/followers","following_url":"https://api.github.com/users/serac/following{/other_user}","gists_url":"https://api.github.com/users/serac/gists{/gist_id}","starred_url":"https://api.github.com/users/serac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serac/subscriptions","organizations_url":"https://api.github.com/users/serac/orgs","repos_url":"https://api.github.com/users/serac/repos","events_url":"https://api.github.com/users/serac/events{/privacy}","received_events_url":"https://api.github.com/users/serac/received_events","type":"User","site_admin":false},"repo":{"id":2386496,"name":"cas","full_name":"serac/cas","owner":{"login":"serac","id":111432,"avatar_url":"https://avatars.githubusercontent.com/u/111432?v=3","gravatar_id":"","url":"https://api.github.com/users/serac","html_url":"https://github.com/serac","followers_url":"https://api.github.com/users/serac/followers","following_url":"https://api.github.com/users/serac/following{/other_user}","gists_url":"https://api.github.com/users/serac/gists{/gist_id}","starred_url":"https://api.github.com/users/serac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serac/subscriptions","organizations_url":"https://api.github.com/users/serac/orgs","repos_url":"https://api.github.com/users/serac/repos","events_url":"https://api.github.com/users/serac/events{/privacy}","received_events_url":"https://api.github.com/users/serac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/serac/cas","description":"Jasig CAS - Single Sign On for the Web","fork":true,"url":"https://api.github.com/repos/serac/cas","forks_url":"https://api.github.com/repos/serac/cas/forks","keys_url":"https://api.github.com/repos/serac/cas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/serac/cas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/serac/cas/teams","hooks_url":"https://api.github.com/repos/serac/cas/hooks","issue_events_url":"https://api.github.com/repos/serac/cas/issues/events{/number}","events_url":"https://api.github.com/repos/serac/cas/events","assignees_url":"https://api.github.com/repos/serac/cas/assignees{/user}","branches_url":"https://api.github.com/repos/serac/cas/branches{/branch}","tags_url":"https://api.github.com/repos/serac/cas/tags","blobs_url":"https://api.github.com/repos/serac/cas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/serac/cas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/serac/cas/git/refs{/sha}","trees_url":"https://api.github.com/repos/serac/cas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/serac/cas/statuses/{sha}","languages_url":"https://api.github.com/repos/serac/cas/languages","stargazers_url":"https://api.github.com/repos/serac/cas/stargazers","contributors_url":"https://api.github.com/repos/serac/cas/contributors","subscribers_url":"https://api.github.com/repos/serac/cas/subscribers","subscription_url":"https://api.github.com/repos/serac/cas/subscription","commits_url":"https://api.github.com/repos/serac/cas/commits{/sha}","git_commits_url":"https://api.github.com/repos/serac/cas/git/commits{/sha}","comments_url":"https://api.github.com/repos/serac/cas/comments{/number}","issue_comment_url":"https://api.github.com/repos/serac/cas/issues/comments{/number}","contents_url":"https://api.github.com/repos/serac/cas/contents/{+path}","compare_url":"https://api.github.com/repos/serac/cas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/serac/cas/merges","archive_url":"https://api.github.com/repos/serac/cas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/serac/cas/downloads","issues_url":"https://api.github.com/repos/serac/cas/issues{/number}","pulls_url":"https://api.github.com/repos/serac/cas/pulls{/number}","milestones_url":"https://api.github.com/repos/serac/cas/milestones{/number}","notifications_url":"https://api.github.com/repos/serac/cas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/serac/cas/labels{/name}","releases_url":"https://api.github.com/repos/serac/cas/releases{/id}","created_at":"2011-09-14T16:10:48Z","updated_at":"2014-04-03T16:45:23Z","pushed_at":"2015-04-20T21:27:51Z","git_url":"git://github.com/serac/cas.git","ssh_url":"git@github.com:serac/cas.git","clone_url":"https://github.com/serac/cas.git","svn_url":"https://github.com/serac/cas","homepage":"http://www.jasig.org/cas","size":22432,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"Jasig:3.6.x","ref":"3.6.x","sha":"498e55cad7108826f17ee1f498a97eb16e7965a7","user":{"login":"Jasig","id":884285,"avatar_url":"https://avatars.githubusercontent.com/u/884285?v=3","gravatar_id":"","url":"https://api.github.com/users/Jasig","html_url":"https://github.com/Jasig","followers_url":"https://api.github.com/users/Jasig/followers","following_url":"https://api.github.com/users/Jasig/following{/other_user}","gists_url":"https://api.github.com/users/Jasig/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasig/subscriptions","organizations_url":"https://api.github.com/users/Jasig/orgs","repos_url":"https://api.github.com/users/Jasig/repos","events_url":"https://api.github.com/users/Jasig/events{/privacy}","received_events_url":"https://api.github.com/users/Jasig/received_events","type":"Organization","site_admin":false},"repo":{"id":2352744,"name":"cas","full_name":"Jasig/cas","owner":{"login":"Jasig","id":884285,"avatar_url":"https://avatars.githubusercontent.com/u/884285?v=3","gravatar_id":"","url":"https://api.github.com/users/Jasig","html_url":"https://github.com/Jasig","followers_url":"https://api.github.com/users/Jasig/followers","following_url":"https://api.github.com/users/Jasig/following{/other_user}","gists_url":"https://api.github.com/users/Jasig/gists{/gist_id}","starred_url":"https://api.github.com/users/Jasig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jasig/subscriptions","organizations_url":"https://api.github.com/users/Jasig/orgs","repos_url":"https://api.github.com/users/Jasig/repos","events_url":"https://api.github.com/users/Jasig/events{/privacy}","received_events_url":"https://api.github.com/users/Jasig/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Jasig/cas","description":"Apereo CAS - Single Sign On for the Web","fork":false,"url":"https://api.github.com/repos/Jasig/cas","forks_url":"https://api.github.com/repos/Jasig/cas/forks","keys_url":"https://api.github.com/repos/Jasig/cas/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jasig/cas/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jasig/cas/teams","hooks_url":"https://api.github.com/repos/Jasig/cas/hooks","issue_events_url":"https://api.github.com/repos/Jasig/cas/issues/events{/number}","events_url":"https://api.github.com/repos/Jasig/cas/events","assignees_url":"https://api.github.com/repos/Jasig/cas/assignees{/user}","branches_url":"https://api.github.com/repos/Jasig/cas/branches{/branch}","tags_url":"https://api.github.com/repos/Jasig/cas/tags","blobs_url":"https://api.github.com/repos/Jasig/cas/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jasig/cas/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jasig/cas/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jasig/cas/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jasig/cas/statuses/{sha}","languages_url":"https://api.github.com/repos/Jasig/cas/languages","stargazers_url":"https://api.github.com/repos/Jasig/cas/stargazers","contributors_url":"https://api.github.com/repos/Jasig/cas/contributors","subscribers_url":"https://api.github.com/repos/Jasig/cas/subscribers","subscription_url":"https://api.github.com/repos/Jasig/cas/subscription","commits_url":"https://api.github.com/repos/Jasig/cas/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jasig/cas/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jasig/cas/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jasig/cas/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jasig/cas/contents/{+path}","compare_url":"https://api.github.com/repos/Jasig/cas/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jasig/cas/merges","archive_url":"https://api.github.com/repos/Jasig/cas/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jasig/cas/downloads","issues_url":"https://api.github.com/repos/Jasig/cas/issues{/number}","pulls_url":"https://api.github.com/repos/Jasig/cas/pulls{/number}","milestones_url":"https://api.github.com/repos/Jasig/cas/milestones{/number}","notifications_url":"https://api.github.com/repos/Jasig/cas/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jasig/cas/labels{/name}","releases_url":"https://api.github.com/repos/Jasig/cas/releases{/id}","created_at":"2011-09-09T01:36:42Z","updated_at":"2015-04-22T11:44:51Z","pushed_at":"2015-04-22T11:44:51Z","git_url":"git://github.com/Jasig/cas.git","ssh_url":"git@github.com:Jasig/cas.git","clone_url":"https://github.com/Jasig/cas.git","svn_url":"https://github.com/Jasig/cas","homepage":"https://www.apereo.org/cas","size":435602,"stargazers_count":629,"watchers_count":629,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":481,"mirror_url":null,"open_issues_count":85,"forks":481,"open_issues":85,"watchers":629,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Jasig/cas/pulls/933"},"html":{"href":"https://github.com/Jasig/cas/pull/933"},"issue":{"href":"https://api.github.com/repos/Jasig/cas/issues/933"},"comments":{"href":"https://api.github.com/repos/Jasig/cas/issues/933/comments"},"review_comments":{"href":"https://api.github.com/repos/Jasig/cas/pulls/933/comments"},"review_comment":{"href":"https://api.github.com/repos/Jasig/cas/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Jasig/cas/pulls/933/commits"},"statuses":{"href":"https://api.github.com/repos/Jasig/cas/statuses/135d2cb3d37b1613c4426dba2b62ecc0c035d771"}}}}