{"action":"created","comment":{"url":"https://api.github.com/repos/DataTorrent/docs/pulls/comments/92897964","pull_request_review_id":13423623,"id":92897964,"diff_hunk":"@@ -2225,6 +2225,446 @@ Return:\n }\n ```\n \n+### PUT /ws/v2/config/auth\n+\n+Function: The clients will send a PUT request to this web service to configure the authentication. \n+The request will be a JSON request, will specify the type of authentication to use such as password, kerberos, \n+ldap etc and the configuration parameters for the authentication. For any type of authentication, dt-site.xml is updated.\n+But other configuration files such as external-roles & jaas.conf is generated only with kerberos, ldap and different \n+variants.\n+\n+payload:\n+\n+```json\n+{\n+    \"type\": \"{authenticationType}\",\n+    \"configuration\":{ }\n+};\n+\n+```\n+\n+Returns:\n+\n+```json\n+{\n+}\n+```\n+\n+The web request **GET /ws/v2/config/auth** returns payload body that was sent in **PUT** request as the response verbatim. \n+\n+### PUT /ws/v2/config/auth -- For Password.","path":"docs/dtgateway_api.md","position":31,"original_position":31,"commit_id":"66ae6fc7306f475ffd6d04d9acd274e4fe35506a","original_commit_id":"66ae6fc7306f475ffd6d04d9acd274e4fe35506a","user":{"login":"PramodSSImmaneni","id":4418235,"avatar_url":"https://avatars.githubusercontent.com/u/4418235?v=3","gravatar_id":"","url":"https://api.github.com/users/PramodSSImmaneni","html_url":"https://github.com/PramodSSImmaneni","followers_url":"https://api.github.com/users/PramodSSImmaneni/followers","following_url":"https://api.github.com/users/PramodSSImmaneni/following{/other_user}","gists_url":"https://api.github.com/users/PramodSSImmaneni/gists{/gist_id}","starred_url":"https://api.github.com/users/PramodSSImmaneni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PramodSSImmaneni/subscriptions","organizations_url":"https://api.github.com/users/PramodSSImmaneni/orgs","repos_url":"https://api.github.com/users/PramodSSImmaneni/repos","events_url":"https://api.github.com/users/PramodSSImmaneni/events{/privacy}","received_events_url":"https://api.github.com/users/PramodSSImmaneni/received_events","type":"User","site_admin":false},"body":"Make them sub-headings and just call it \"Password\" instead of repeating the PUT... Same for other auth types below.","created_at":"2016-12-16T22:35:48Z","updated_at":"2016-12-16T22:35:48Z","html_url":"https://github.com/DataTorrent/docs/pull/101#discussion_r92897964","pull_request_url":"https://api.github.com/repos/DataTorrent/docs/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/DataTorrent/docs/pulls/comments/92897964"},"html":{"href":"https://github.com/DataTorrent/docs/pull/101#discussion_r92897964"},"pull_request":{"href":"https://api.github.com/repos/DataTorrent/docs/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/DataTorrent/docs/pulls/101","id":98284854,"html_url":"https://github.com/DataTorrent/docs/pull/101","diff_url":"https://github.com/DataTorrent/docs/pull/101.diff","patch_url":"https://github.com/DataTorrent/docs/pull/101.patch","issue_url":"https://api.github.com/repos/DataTorrent/docs/issues/101","number":101,"state":"open","locked":false,"title":"Add authentication configuration web services spc to gateway REST api doc. SPOI-8996.","user":{"login":"prasannapramod","id":11400212,"avatar_url":"https://avatars.githubusercontent.com/u/11400212?v=3","gravatar_id":"","url":"https://api.github.com/users/prasannapramod","html_url":"https://github.com/prasannapramod","followers_url":"https://api.github.com/users/prasannapramod/followers","following_url":"https://api.github.com/users/prasannapramod/following{/other_user}","gists_url":"https://api.github.com/users/prasannapramod/gists{/gist_id}","starred_url":"https://api.github.com/users/prasannapramod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasannapramod/subscriptions","organizations_url":"https://api.github.com/users/prasannapramod/orgs","repos_url":"https://api.github.com/users/prasannapramod/repos","events_url":"https://api.github.com/users/prasannapramod/events{/privacy}","received_events_url":"https://api.github.com/users/prasannapramod/received_events","type":"User","site_admin":false},"body":"@PramodSSImmaneni please review","created_at":"2016-12-16T06:28:29Z","updated_at":"2016-12-16T22:35:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"03a4e0d5b8894b9ad2e9955a9cedfebf8838de32","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DataTorrent/docs/pulls/101/commits","review_comments_url":"https://api.github.com/repos/DataTorrent/docs/pulls/101/comments","review_comment_url":"https://api.github.com/repos/DataTorrent/docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataTorrent/docs/issues/101/comments","statuses_url":"https://api.github.com/repos/DataTorrent/docs/statuses/66ae6fc7306f475ffd6d04d9acd274e4fe35506a","head":{"label":"prasannapramod:SPOI-8996","ref":"SPOI-8996","sha":"66ae6fc7306f475ffd6d04d9acd274e4fe35506a","user":{"login":"prasannapramod","id":11400212,"avatar_url":"https://avatars.githubusercontent.com/u/11400212?v=3","gravatar_id":"","url":"https://api.github.com/users/prasannapramod","html_url":"https://github.com/prasannapramod","followers_url":"https://api.github.com/users/prasannapramod/followers","following_url":"https://api.github.com/users/prasannapramod/following{/other_user}","gists_url":"https://api.github.com/users/prasannapramod/gists{/gist_id}","starred_url":"https://api.github.com/users/prasannapramod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasannapramod/subscriptions","organizations_url":"https://api.github.com/users/prasannapramod/orgs","repos_url":"https://api.github.com/users/prasannapramod/repos","events_url":"https://api.github.com/users/prasannapramod/events{/privacy}","received_events_url":"https://api.github.com/users/prasannapramod/received_events","type":"User","site_admin":false},"repo":{"id":63376409,"name":"docs","full_name":"prasannapramod/docs","owner":{"login":"prasannapramod","id":11400212,"avatar_url":"https://avatars.githubusercontent.com/u/11400212?v=3","gravatar_id":"","url":"https://api.github.com/users/prasannapramod","html_url":"https://github.com/prasannapramod","followers_url":"https://api.github.com/users/prasannapramod/followers","following_url":"https://api.github.com/users/prasannapramod/following{/other_user}","gists_url":"https://api.github.com/users/prasannapramod/gists{/gist_id}","starred_url":"https://api.github.com/users/prasannapramod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prasannapramod/subscriptions","organizations_url":"https://api.github.com/users/prasannapramod/orgs","repos_url":"https://api.github.com/users/prasannapramod/repos","events_url":"https://api.github.com/users/prasannapramod/events{/privacy}","received_events_url":"https://api.github.com/users/prasannapramod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/prasannapramod/docs","description":"DataTorrent Product Documentation","fork":true,"url":"https://api.github.com/repos/prasannapramod/docs","forks_url":"https://api.github.com/repos/prasannapramod/docs/forks","keys_url":"https://api.github.com/repos/prasannapramod/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/prasannapramod/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/prasannapramod/docs/teams","hooks_url":"https://api.github.com/repos/prasannapramod/docs/hooks","issue_events_url":"https://api.github.com/repos/prasannapramod/docs/issues/events{/number}","events_url":"https://api.github.com/repos/prasannapramod/docs/events","assignees_url":"https://api.github.com/repos/prasannapramod/docs/assignees{/user}","branches_url":"https://api.github.com/repos/prasannapramod/docs/branches{/branch}","tags_url":"https://api.github.com/repos/prasannapramod/docs/tags","blobs_url":"https://api.github.com/repos/prasannapramod/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/prasannapramod/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/prasannapramod/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/prasannapramod/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/prasannapramod/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/prasannapramod/docs/languages","stargazers_url":"https://api.github.com/repos/prasannapramod/docs/stargazers","contributors_url":"https://api.github.com/repos/prasannapramod/docs/contributors","subscribers_url":"https://api.github.com/repos/prasannapramod/docs/subscribers","subscription_url":"https://api.github.com/repos/prasannapramod/docs/subscription","commits_url":"https://api.github.com/repos/prasannapramod/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/prasannapramod/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/prasannapramod/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/prasannapramod/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/prasannapramod/docs/contents/{+path}","compare_url":"https://api.github.com/repos/prasannapramod/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/prasannapramod/docs/merges","archive_url":"https://api.github.com/repos/prasannapramod/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/prasannapramod/docs/downloads","issues_url":"https://api.github.com/repos/prasannapramod/docs/issues{/number}","pulls_url":"https://api.github.com/repos/prasannapramod/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/prasannapramod/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/prasannapramod/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/prasannapramod/docs/labels{/name}","releases_url":"https://api.github.com/repos/prasannapramod/docs/releases{/id}","deployments_url":"https://api.github.com/repos/prasannapramod/docs/deployments","created_at":"2016-07-14T23:28:24Z","updated_at":"2016-03-12T06:36:12Z","pushed_at":"2016-12-16T06:26:01Z","git_url":"git://github.com/prasannapramod/docs.git","ssh_url":"git@github.com:prasannapramod/docs.git","clone_url":"https://github.com/prasannapramod/docs.git","svn_url":"https://github.com/prasannapramod/docs","homepage":null,"size":53665,"stargazers_count":0,"watchers_count":0,"language":null,"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":"DataTorrent:master","ref":"master","sha":"d3f2188fbab4047e75b8a18edbd4310d86681116","user":{"login":"DataTorrent","id":4400063,"avatar_url":"https://avatars.githubusercontent.com/u/4400063?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTorrent","html_url":"https://github.com/DataTorrent","followers_url":"https://api.github.com/users/DataTorrent/followers","following_url":"https://api.github.com/users/DataTorrent/following{/other_user}","gists_url":"https://api.github.com/users/DataTorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTorrent/subscriptions","organizations_url":"https://api.github.com/users/DataTorrent/orgs","repos_url":"https://api.github.com/users/DataTorrent/repos","events_url":"https://api.github.com/users/DataTorrent/events{/privacy}","received_events_url":"https://api.github.com/users/DataTorrent/received_events","type":"Organization","site_admin":false},"repo":{"id":43032394,"name":"docs","full_name":"DataTorrent/docs","owner":{"login":"DataTorrent","id":4400063,"avatar_url":"https://avatars.githubusercontent.com/u/4400063?v=3","gravatar_id":"","url":"https://api.github.com/users/DataTorrent","html_url":"https://github.com/DataTorrent","followers_url":"https://api.github.com/users/DataTorrent/followers","following_url":"https://api.github.com/users/DataTorrent/following{/other_user}","gists_url":"https://api.github.com/users/DataTorrent/gists{/gist_id}","starred_url":"https://api.github.com/users/DataTorrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataTorrent/subscriptions","organizations_url":"https://api.github.com/users/DataTorrent/orgs","repos_url":"https://api.github.com/users/DataTorrent/repos","events_url":"https://api.github.com/users/DataTorrent/events{/privacy}","received_events_url":"https://api.github.com/users/DataTorrent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataTorrent/docs","description":"DataTorrent Product Documentation","fork":false,"url":"https://api.github.com/repos/DataTorrent/docs","forks_url":"https://api.github.com/repos/DataTorrent/docs/forks","keys_url":"https://api.github.com/repos/DataTorrent/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataTorrent/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataTorrent/docs/teams","hooks_url":"https://api.github.com/repos/DataTorrent/docs/hooks","issue_events_url":"https://api.github.com/repos/DataTorrent/docs/issues/events{/number}","events_url":"https://api.github.com/repos/DataTorrent/docs/events","assignees_url":"https://api.github.com/repos/DataTorrent/docs/assignees{/user}","branches_url":"https://api.github.com/repos/DataTorrent/docs/branches{/branch}","tags_url":"https://api.github.com/repos/DataTorrent/docs/tags","blobs_url":"https://api.github.com/repos/DataTorrent/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataTorrent/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataTorrent/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataTorrent/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataTorrent/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/DataTorrent/docs/languages","stargazers_url":"https://api.github.com/repos/DataTorrent/docs/stargazers","contributors_url":"https://api.github.com/repos/DataTorrent/docs/contributors","subscribers_url":"https://api.github.com/repos/DataTorrent/docs/subscribers","subscription_url":"https://api.github.com/repos/DataTorrent/docs/subscription","commits_url":"https://api.github.com/repos/DataTorrent/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataTorrent/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataTorrent/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataTorrent/docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataTorrent/docs/contents/{+path}","compare_url":"https://api.github.com/repos/DataTorrent/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataTorrent/docs/merges","archive_url":"https://api.github.com/repos/DataTorrent/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataTorrent/docs/downloads","issues_url":"https://api.github.com/repos/DataTorrent/docs/issues{/number}","pulls_url":"https://api.github.com/repos/DataTorrent/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/DataTorrent/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/DataTorrent/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataTorrent/docs/labels{/name}","releases_url":"https://api.github.com/repos/DataTorrent/docs/releases{/id}","deployments_url":"https://api.github.com/repos/DataTorrent/docs/deployments","created_at":"2015-09-23T23:13:45Z","updated_at":"2016-10-24T20:38:26Z","pushed_at":"2016-12-16T06:28:29Z","git_url":"git://github.com/DataTorrent/docs.git","ssh_url":"git@github.com:DataTorrent/docs.git","clone_url":"https://github.com/DataTorrent/docs.git","svn_url":"https://github.com/DataTorrent/docs","homepage":null,"size":62756,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"open_issues_count":8,"forks":20,"open_issues":8,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataTorrent/docs/pulls/101"},"html":{"href":"https://github.com/DataTorrent/docs/pull/101"},"issue":{"href":"https://api.github.com/repos/DataTorrent/docs/issues/101"},"comments":{"href":"https://api.github.com/repos/DataTorrent/docs/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/DataTorrent/docs/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/DataTorrent/docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataTorrent/docs/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/DataTorrent/docs/statuses/66ae6fc7306f475ffd6d04d9acd274e4fe35506a"}}}}
{"actor":{"display_login":"PramodSSImmaneni"}}