{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf-platform/pulls/comments/39872499","id":39872499,"diff_hunk":"@@ -13,13 +13,15 @@\n  */\n package org.codice.ddf.security.handler.saml;\n \n+import java.io.ByteArrayInputStream; //","path":"security/handler/security-handler-saml/src/main/java/org/codice/ddf/security/handler/saml/SAMLAssertionHandler.java","position":17,"original_position":17,"commit_id":"e7ecee731903edafb284e54bd13c93b1b9a592af","original_commit_id":"e7ecee731903edafb284e54bd13c93b1b9a592af","user":{"login":"garrettfreibott","id":12499654,"avatar_url":"https://avatars.githubusercontent.com/u/12499654?v=3","gravatar_id":"","url":"https://api.github.com/users/garrettfreibott","html_url":"https://github.com/garrettfreibott","followers_url":"https://api.github.com/users/garrettfreibott/followers","following_url":"https://api.github.com/users/garrettfreibott/following{/other_user}","gists_url":"https://api.github.com/users/garrettfreibott/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettfreibott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettfreibott/subscriptions","organizations_url":"https://api.github.com/users/garrettfreibott/orgs","repos_url":"https://api.github.com/users/garrettfreibott/repos","events_url":"https://api.github.com/users/garrettfreibott/events{/privacy}","received_events_url":"https://api.github.com/users/garrettfreibott/received_events","type":"User","site_admin":false},"body":"Haha, whoops. I was using those to mark lines when I was trying to fix some checkstyle problems with the import order. I'll remove those.","created_at":"2015-09-18T16:14:05Z","updated_at":"2015-09-18T16:14:05Z","html_url":"https://github.com/codice/ddf-platform/pull/96#discussion_r39872499","pull_request_url":"https://api.github.com/repos/codice/ddf-platform/pulls/96","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf-platform/pulls/comments/39872499"},"html":{"href":"https://github.com/codice/ddf-platform/pull/96#discussion_r39872499"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf-platform/pulls/96"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf-platform/pulls/96","id":45310105,"html_url":"https://github.com/codice/ddf-platform/pull/96","diff_url":"https://github.com/codice/ddf-platform/pull/96.diff","patch_url":"https://github.com/codice/ddf-platform/pull/96.patch","issue_url":"https://api.github.com/repos/codice/ddf-platform/issues/96","number":96,"state":"open","locked":false,"title":"DDF-1472: Backport to support SAML headers","user":{"login":"garrettfreibott","id":12499654,"avatar_url":"https://avatars.githubusercontent.com/u/12499654?v=3","gravatar_id":"","url":"https://api.github.com/users/garrettfreibott","html_url":"https://github.com/garrettfreibott","followers_url":"https://api.github.com/users/garrettfreibott/followers","following_url":"https://api.github.com/users/garrettfreibott/following{/other_user}","gists_url":"https://api.github.com/users/garrettfreibott/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettfreibott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettfreibott/subscriptions","organizations_url":"https://api.github.com/users/garrettfreibott/orgs","repos_url":"https://api.github.com/users/garrettfreibott/repos","events_url":"https://api.github.com/users/garrettfreibott/events{/privacy}","received_events_url":"https://api.github.com/users/garrettfreibott/received_events","type":"User","site_admin":false},"body":"In order to allow user identity federation between 2.8.x and 2.7.x,\r\nit was neccessary to add the ability to accept SAML assertions\r\nstored in headers. 2.8.x can accept cookie-assertions, but only\r\nsends header-assertions. Without this fix, user identity can only be\r\nfederated one-way, from 2.7.x to 2.8.x, and not the other direction.\r\nSee ticket DDF-1472.\r\n\r\n - Updated SAMLAssertionHandler to process incoming authorization\r\n   headers for SAML assertions\r\n - Updated RestSecurity to use headers\r\n - Updated unit tests to cover new header code\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/codice/ddf-platform/96)\n<!-- Reviewable:end -->\n","created_at":"2015-09-17T16:12:58Z","updated_at":"2015-09-18T16:14:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b86727337f4c820b594b100c8f3694f5167d07d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf-platform/pulls/96/commits","review_comments_url":"https://api.github.com/repos/codice/ddf-platform/pulls/96/comments","review_comment_url":"https://api.github.com/repos/codice/ddf-platform/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf-platform/issues/96/comments","statuses_url":"https://api.github.com/repos/codice/ddf-platform/statuses/e7ecee731903edafb284e54bd13c93b1b9a592af","head":{"label":"garrettfreibott:2.7.x","ref":"2.7.x","sha":"e7ecee731903edafb284e54bd13c93b1b9a592af","user":{"login":"garrettfreibott","id":12499654,"avatar_url":"https://avatars.githubusercontent.com/u/12499654?v=3","gravatar_id":"","url":"https://api.github.com/users/garrettfreibott","html_url":"https://github.com/garrettfreibott","followers_url":"https://api.github.com/users/garrettfreibott/followers","following_url":"https://api.github.com/users/garrettfreibott/following{/other_user}","gists_url":"https://api.github.com/users/garrettfreibott/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettfreibott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettfreibott/subscriptions","organizations_url":"https://api.github.com/users/garrettfreibott/orgs","repos_url":"https://api.github.com/users/garrettfreibott/repos","events_url":"https://api.github.com/users/garrettfreibott/events{/privacy}","received_events_url":"https://api.github.com/users/garrettfreibott/received_events","type":"User","site_admin":false},"repo":{"id":39468583,"name":"ddf-platform","full_name":"garrettfreibott/ddf-platform","owner":{"login":"garrettfreibott","id":12499654,"avatar_url":"https://avatars.githubusercontent.com/u/12499654?v=3","gravatar_id":"","url":"https://api.github.com/users/garrettfreibott","html_url":"https://github.com/garrettfreibott","followers_url":"https://api.github.com/users/garrettfreibott/followers","following_url":"https://api.github.com/users/garrettfreibott/following{/other_user}","gists_url":"https://api.github.com/users/garrettfreibott/gists{/gist_id}","starred_url":"https://api.github.com/users/garrettfreibott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garrettfreibott/subscriptions","organizations_url":"https://api.github.com/users/garrettfreibott/orgs","repos_url":"https://api.github.com/users/garrettfreibott/repos","events_url":"https://api.github.com/users/garrettfreibott/events{/privacy}","received_events_url":"https://api.github.com/users/garrettfreibott/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/garrettfreibott/ddf-platform","description":"","fork":true,"url":"https://api.github.com/repos/garrettfreibott/ddf-platform","forks_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/forks","keys_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/teams","hooks_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/hooks","issue_events_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/issues/events{/number}","events_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/events","assignees_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/assignees{/user}","branches_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/branches{/branch}","tags_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/tags","blobs_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/languages","stargazers_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/stargazers","contributors_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/contributors","subscribers_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/subscribers","subscription_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/subscription","commits_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/contents/{+path}","compare_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/merges","archive_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/downloads","issues_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/issues{/number}","pulls_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/labels{/name}","releases_url":"https://api.github.com/repos/garrettfreibott/ddf-platform/releases{/id}","created_at":"2015-07-21T20:35:25Z","updated_at":"2015-07-21T20:35:28Z","pushed_at":"2015-09-18T14:47:45Z","git_url":"git://github.com/garrettfreibott/ddf-platform.git","ssh_url":"git@github.com:garrettfreibott/ddf-platform.git","clone_url":"https://github.com/garrettfreibott/ddf-platform.git","svn_url":"https://github.com/garrettfreibott/ddf-platform","homepage":null,"size":5721,"stargazers_count":0,"watchers_count":0,"language":"Java","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":"codice:2.7.x","ref":"2.7.x","sha":"5516f5dcea8c458d2a5a8c41d4f8c6beaff8c12c","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15776646,"name":"ddf-platform","full_name":"codice/ddf-platform","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf-platform","description":"DEPRECATED: This repository has been moved into ddf. You may only submit Bug Fixes to the appropriate branch.","fork":false,"url":"https://api.github.com/repos/codice/ddf-platform","forks_url":"https://api.github.com/repos/codice/ddf-platform/forks","keys_url":"https://api.github.com/repos/codice/ddf-platform/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf-platform/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf-platform/teams","hooks_url":"https://api.github.com/repos/codice/ddf-platform/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf-platform/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf-platform/events","assignees_url":"https://api.github.com/repos/codice/ddf-platform/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf-platform/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf-platform/tags","blobs_url":"https://api.github.com/repos/codice/ddf-platform/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf-platform/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf-platform/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf-platform/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf-platform/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf-platform/languages","stargazers_url":"https://api.github.com/repos/codice/ddf-platform/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf-platform/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf-platform/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf-platform/subscription","commits_url":"https://api.github.com/repos/codice/ddf-platform/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf-platform/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf-platform/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf-platform/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf-platform/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf-platform/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf-platform/merges","archive_url":"https://api.github.com/repos/codice/ddf-platform/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf-platform/downloads","issues_url":"https://api.github.com/repos/codice/ddf-platform/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf-platform/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf-platform/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf-platform/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf-platform/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf-platform/releases{/id}","created_at":"2014-01-09T19:18:14Z","updated_at":"2015-08-05T17:51:44Z","pushed_at":"2015-09-18T14:47:50Z","git_url":"git://github.com/codice/ddf-platform.git","ssh_url":"git@github.com:codice/ddf-platform.git","clone_url":"https://github.com/codice/ddf-platform.git","svn_url":"https://github.com/codice/ddf-platform","homepage":"","size":10748,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"open_issues_count":1,"forks":32,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf-platform/pulls/96"},"html":{"href":"https://github.com/codice/ddf-platform/pull/96"},"issue":{"href":"https://api.github.com/repos/codice/ddf-platform/issues/96"},"comments":{"href":"https://api.github.com/repos/codice/ddf-platform/issues/96/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf-platform/pulls/96/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf-platform/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf-platform/pulls/96/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf-platform/statuses/e7ecee731903edafb284e54bd13c93b1b9a592af"}}}}