{"action":"opened","number":2425,"pull_request":{"url":"https://api.github.com/repos/apache/flink/pulls/2425","id":82939142,"html_url":"https://github.com/apache/flink/pull/2425","diff_url":"https://github.com/apache/flink/pull/2425.diff","patch_url":"https://github.com/apache/flink/pull/2425.patch","issue_url":"https://api.github.com/repos/apache/flink/issues/2425","number":2425,"state":"open","locked":false,"title":"FLINK-3930 Added shared secret based authorization for Flink service …","user":{"login":"vijikarthi","id":5560671,"avatar_url":"https://avatars.githubusercontent.com/u/5560671?v=3","gravatar_id":"","url":"https://api.github.com/users/vijikarthi","html_url":"https://github.com/vijikarthi","followers_url":"https://api.github.com/users/vijikarthi/followers","following_url":"https://api.github.com/users/vijikarthi/following{/other_user}","gists_url":"https://api.github.com/users/vijikarthi/gists{/gist_id}","starred_url":"https://api.github.com/users/vijikarthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijikarthi/subscriptions","organizations_url":"https://api.github.com/users/vijikarthi/orgs","repos_url":"https://api.github.com/users/vijikarthi/repos","events_url":"https://api.github.com/users/vijikarthi/events{/privacy}","received_events_url":"https://api.github.com/users/vijikarthi/received_events","type":"User","site_admin":false},"body":"This PR addresses FLINK-3930 requirements. It enables shared secret based secure cookie authorization for the following components\r\n\r\n- Akka layer\r\n- Blob Service\r\n- Web UI\r\n\r\nSecure cookie authentication can be enabled by providing below configurations to Flink configuration file.\r\n\r\n- `security.enabled`: A boolean value (true|false) indicating security is enabled or not.\r\n- `security.cookie` : Secure cookie value to be used for authentication. For standalone deployment mode, the secure cookie value is mandatory when security is enabled but for the Yarn mode it is optional (auto-generated if not provided).\r\n\r\nAlternatively, secure cookie value can be provided through Flink/Yarn CLI using \"-k\" or \"--cookie\" parameter option.\r\n\r\nThe web runtime module prompts for secure cookie using standard basic HTTP authentication mechanism, where the user id field is a noop and the password field will be used to capture the secure cookie. ","created_at":"2016-08-26T19:14:04Z","updated_at":"2016-08-26T19:14:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de23c81fe7e21bf33e91a7c89624dae53d40b40d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/apache/flink/pulls/2425/commits","review_comments_url":"https://api.github.com/repos/apache/flink/pulls/2425/comments","review_comment_url":"https://api.github.com/repos/apache/flink/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apache/flink/issues/2425/comments","statuses_url":"https://api.github.com/repos/apache/flink/statuses/33d391cb17e68dd203328a91fa6b63218884b49d","head":{"label":"vijikarthi:FLINK-3930","ref":"FLINK-3930","sha":"33d391cb17e68dd203328a91fa6b63218884b49d","user":{"login":"vijikarthi","id":5560671,"avatar_url":"https://avatars.githubusercontent.com/u/5560671?v=3","gravatar_id":"","url":"https://api.github.com/users/vijikarthi","html_url":"https://github.com/vijikarthi","followers_url":"https://api.github.com/users/vijikarthi/followers","following_url":"https://api.github.com/users/vijikarthi/following{/other_user}","gists_url":"https://api.github.com/users/vijikarthi/gists{/gist_id}","starred_url":"https://api.github.com/users/vijikarthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijikarthi/subscriptions","organizations_url":"https://api.github.com/users/vijikarthi/orgs","repos_url":"https://api.github.com/users/vijikarthi/repos","events_url":"https://api.github.com/users/vijikarthi/events{/privacy}","received_events_url":"https://api.github.com/users/vijikarthi/received_events","type":"User","site_admin":false},"repo":{"id":58961977,"name":"flink","full_name":"vijikarthi/flink","owner":{"login":"vijikarthi","id":5560671,"avatar_url":"https://avatars.githubusercontent.com/u/5560671?v=3","gravatar_id":"","url":"https://api.github.com/users/vijikarthi","html_url":"https://github.com/vijikarthi","followers_url":"https://api.github.com/users/vijikarthi/followers","following_url":"https://api.github.com/users/vijikarthi/following{/other_user}","gists_url":"https://api.github.com/users/vijikarthi/gists{/gist_id}","starred_url":"https://api.github.com/users/vijikarthi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vijikarthi/subscriptions","organizations_url":"https://api.github.com/users/vijikarthi/orgs","repos_url":"https://api.github.com/users/vijikarthi/repos","events_url":"https://api.github.com/users/vijikarthi/events{/privacy}","received_events_url":"https://api.github.com/users/vijikarthi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vijikarthi/flink","description":"Mirror of Apache Flink","fork":true,"url":"https://api.github.com/repos/vijikarthi/flink","forks_url":"https://api.github.com/repos/vijikarthi/flink/forks","keys_url":"https://api.github.com/repos/vijikarthi/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vijikarthi/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vijikarthi/flink/teams","hooks_url":"https://api.github.com/repos/vijikarthi/flink/hooks","issue_events_url":"https://api.github.com/repos/vijikarthi/flink/issues/events{/number}","events_url":"https://api.github.com/repos/vijikarthi/flink/events","assignees_url":"https://api.github.com/repos/vijikarthi/flink/assignees{/user}","branches_url":"https://api.github.com/repos/vijikarthi/flink/branches{/branch}","tags_url":"https://api.github.com/repos/vijikarthi/flink/tags","blobs_url":"https://api.github.com/repos/vijikarthi/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vijikarthi/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vijikarthi/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/vijikarthi/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vijikarthi/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/vijikarthi/flink/languages","stargazers_url":"https://api.github.com/repos/vijikarthi/flink/stargazers","contributors_url":"https://api.github.com/repos/vijikarthi/flink/contributors","subscribers_url":"https://api.github.com/repos/vijikarthi/flink/subscribers","subscription_url":"https://api.github.com/repos/vijikarthi/flink/subscription","commits_url":"https://api.github.com/repos/vijikarthi/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/vijikarthi/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/vijikarthi/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/vijikarthi/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/vijikarthi/flink/contents/{+path}","compare_url":"https://api.github.com/repos/vijikarthi/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vijikarthi/flink/merges","archive_url":"https://api.github.com/repos/vijikarthi/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vijikarthi/flink/downloads","issues_url":"https://api.github.com/repos/vijikarthi/flink/issues{/number}","pulls_url":"https://api.github.com/repos/vijikarthi/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/vijikarthi/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/vijikarthi/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vijikarthi/flink/labels{/name}","releases_url":"https://api.github.com/repos/vijikarthi/flink/releases{/id}","deployments_url":"https://api.github.com/repos/vijikarthi/flink/deployments","created_at":"2016-05-16T19:42:47Z","updated_at":"2016-05-16T19:43:04Z","pushed_at":"2016-08-26T19:02:19Z","git_url":"git://github.com/vijikarthi/flink.git","ssh_url":"git@github.com:vijikarthi/flink.git","clone_url":"https://github.com/vijikarthi/flink.git","svn_url":"https://github.com/vijikarthi/flink","homepage":null,"size":89711,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"apache:master","ref":"master","sha":"3505316c6446606555f4ae7cc18ba5e872ff687d","user":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"repo":{"id":20587599,"name":"flink","full_name":"apache/flink","owner":{"login":"apache","id":47359,"avatar_url":"https://avatars.githubusercontent.com/u/47359?v=3","gravatar_id":"","url":"https://api.github.com/users/apache","html_url":"https://github.com/apache","followers_url":"https://api.github.com/users/apache/followers","following_url":"https://api.github.com/users/apache/following{/other_user}","gists_url":"https://api.github.com/users/apache/gists{/gist_id}","starred_url":"https://api.github.com/users/apache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apache/subscriptions","organizations_url":"https://api.github.com/users/apache/orgs","repos_url":"https://api.github.com/users/apache/repos","events_url":"https://api.github.com/users/apache/events{/privacy}","received_events_url":"https://api.github.com/users/apache/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apache/flink","description":"Mirror of Apache Flink","fork":false,"url":"https://api.github.com/repos/apache/flink","forks_url":"https://api.github.com/repos/apache/flink/forks","keys_url":"https://api.github.com/repos/apache/flink/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apache/flink/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apache/flink/teams","hooks_url":"https://api.github.com/repos/apache/flink/hooks","issue_events_url":"https://api.github.com/repos/apache/flink/issues/events{/number}","events_url":"https://api.github.com/repos/apache/flink/events","assignees_url":"https://api.github.com/repos/apache/flink/assignees{/user}","branches_url":"https://api.github.com/repos/apache/flink/branches{/branch}","tags_url":"https://api.github.com/repos/apache/flink/tags","blobs_url":"https://api.github.com/repos/apache/flink/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apache/flink/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apache/flink/git/refs{/sha}","trees_url":"https://api.github.com/repos/apache/flink/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apache/flink/statuses/{sha}","languages_url":"https://api.github.com/repos/apache/flink/languages","stargazers_url":"https://api.github.com/repos/apache/flink/stargazers","contributors_url":"https://api.github.com/repos/apache/flink/contributors","subscribers_url":"https://api.github.com/repos/apache/flink/subscribers","subscription_url":"https://api.github.com/repos/apache/flink/subscription","commits_url":"https://api.github.com/repos/apache/flink/commits{/sha}","git_commits_url":"https://api.github.com/repos/apache/flink/git/commits{/sha}","comments_url":"https://api.github.com/repos/apache/flink/comments{/number}","issue_comment_url":"https://api.github.com/repos/apache/flink/issues/comments{/number}","contents_url":"https://api.github.com/repos/apache/flink/contents/{+path}","compare_url":"https://api.github.com/repos/apache/flink/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apache/flink/merges","archive_url":"https://api.github.com/repos/apache/flink/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apache/flink/downloads","issues_url":"https://api.github.com/repos/apache/flink/issues{/number}","pulls_url":"https://api.github.com/repos/apache/flink/pulls{/number}","milestones_url":"https://api.github.com/repos/apache/flink/milestones{/number}","notifications_url":"https://api.github.com/repos/apache/flink/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apache/flink/labels{/name}","releases_url":"https://api.github.com/repos/apache/flink/releases{/id}","deployments_url":"https://api.github.com/repos/apache/flink/deployments","created_at":"2014-06-07T07:00:10Z","updated_at":"2016-08-26T08:51:59Z","pushed_at":"2016-08-26T19:14:04Z","git_url":"git://github.com/apache/flink.git","ssh_url":"git@github.com:apache/flink.git","clone_url":"https://github.com/apache/flink.git","svn_url":"https://github.com/apache/flink","homepage":null,"size":122225,"stargazers_count":1534,"watchers_count":1534,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1015,"mirror_url":"git://git.apache.org/flink.git","open_issues_count":120,"forks":1015,"open_issues":120,"watchers":1534,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apache/flink/pulls/2425"},"html":{"href":"https://github.com/apache/flink/pull/2425"},"issue":{"href":"https://api.github.com/repos/apache/flink/issues/2425"},"comments":{"href":"https://api.github.com/repos/apache/flink/issues/2425/comments"},"review_comments":{"href":"https://api.github.com/repos/apache/flink/pulls/2425/comments"},"review_comment":{"href":"https://api.github.com/repos/apache/flink/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apache/flink/pulls/2425/commits"},"statuses":{"href":"https://api.github.com/repos/apache/flink/statuses/33d391cb17e68dd203328a91fa6b63218884b49d"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":810,"deletions":154,"changed_files":38}}
{"actor":{"display_login":"vijikarthi"}}