{"action":"created","comment":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/comments/36599780","id":36599780,"diff_hunk":"@@ -29,10 +40,50 @@\n   }\n \n   /**\n-   * @param name the name of the provider\n    * @return true if the provider was registered\n    */\n   public static boolean isPlainSaslProviderAdded() {\n     return Security.getProvider(PlainSaslServerProvider.PROVIDER) != null;\n   }\n+\n+  /**\n+   * Get a ClientTransport for Plain\n+   * @param username User Name of PlainClient\n+   * @param password Password of PlainClient\n+   * @param wrappedTransport The original Transport\n+   * @return Wrapped Transport with Plain\n+   * @throws SaslException\n+   */\n+  public static TTransport getPlainClientTransport(String username, String password,","path":"common/src/main/java/tachyon/security/PlainSaslHelper.java","position":null,"original_position":38,"commit_id":"7bb4fbb5d9fe8f4f4e9923d015e4300754c91ac7","original_commit_id":"e6e5288607a26a77ab5c8daacc9528e85bb14cd8","user":{"login":"sundapeng","id":3818001,"avatar_url":"https://avatars.githubusercontent.com/u/3818001?v=3","gravatar_id":"","url":"https://api.github.com/users/sundapeng","html_url":"https://github.com/sundapeng","followers_url":"https://api.github.com/users/sundapeng/followers","following_url":"https://api.github.com/users/sundapeng/following{/other_user}","gists_url":"https://api.github.com/users/sundapeng/gists{/gist_id}","starred_url":"https://api.github.com/users/sundapeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundapeng/subscriptions","organizations_url":"https://api.github.com/users/sundapeng/orgs","repos_url":"https://api.github.com/users/sundapeng/repos","events_url":"https://api.github.com/users/sundapeng/events{/privacy}","received_events_url":"https://api.github.com/users/sundapeng/received_events","type":"User","site_admin":false},"body":"getPlainClientTransport could be add here. PlainSaslHelper also provides methods to generate PLAIN transport for server and client. Already added to javadoc","created_at":"2015-08-10T03:25:19Z","updated_at":"2015-08-10T03:25:19Z","html_url":"https://github.com/amplab/tachyon/pull/1241#discussion_r36599780","pull_request_url":"https://api.github.com/repos/amplab/tachyon/pulls/1241","_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments/36599780"},"html":{"href":"https://github.com/amplab/tachyon/pull/1241#discussion_r36599780"},"pull_request":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1241"}}},"pull_request":{"url":"https://api.github.com/repos/amplab/tachyon/pulls/1241","id":41763670,"html_url":"https://github.com/amplab/tachyon/pull/1241","diff_url":"https://github.com/amplab/tachyon/pull/1241.diff","patch_url":"https://github.com/amplab/tachyon/pull/1241.patch","issue_url":"https://api.github.com/repos/amplab/tachyon/issues/1241","number":1241,"state":"open","locked":false,"title":"[TACHYON-621] Enable Client PLAIN Authentication","user":{"login":"sundapeng","id":3818001,"avatar_url":"https://avatars.githubusercontent.com/u/3818001?v=3","gravatar_id":"","url":"https://api.github.com/users/sundapeng","html_url":"https://github.com/sundapeng","followers_url":"https://api.github.com/users/sundapeng/followers","following_url":"https://api.github.com/users/sundapeng/following{/other_user}","gists_url":"https://api.github.com/users/sundapeng/gists{/gist_id}","starred_url":"https://api.github.com/users/sundapeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundapeng/subscriptions","organizations_url":"https://api.github.com/users/sundapeng/orgs","repos_url":"https://api.github.com/users/sundapeng/repos","events_url":"https://api.github.com/users/sundapeng/events{/privacy}","received_events_url":"https://api.github.com/users/sundapeng/received_events","type":"User","site_admin":false},"body":"Jira: https://tachyon.atlassian.net/browse/TACHYON-621\r\n\r\nThis patch is about Enable Client PLAIN Authentication, including adding Plain Client Transport and callback handler in client side.\r\n\r\nRelated jira: [TACHYON-726](https://tachyon.atlassian.net/browse/TACHYON-726) Add methods of creating TTransport","created_at":"2015-08-06T08:36:52Z","updated_at":"2015-08-10T03:25:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d4b3cd346ba5db7a383c616e918f850fac070db4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amplab/tachyon/pulls/1241/commits","review_comments_url":"https://api.github.com/repos/amplab/tachyon/pulls/1241/comments","review_comment_url":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amplab/tachyon/issues/1241/comments","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/7bb4fbb5d9fe8f4f4e9923d015e4300754c91ac7","head":{"label":"sundapeng:TACHYON-621","ref":"TACHYON-621","sha":"7bb4fbb5d9fe8f4f4e9923d015e4300754c91ac7","user":{"login":"sundapeng","id":3818001,"avatar_url":"https://avatars.githubusercontent.com/u/3818001?v=3","gravatar_id":"","url":"https://api.github.com/users/sundapeng","html_url":"https://github.com/sundapeng","followers_url":"https://api.github.com/users/sundapeng/followers","following_url":"https://api.github.com/users/sundapeng/following{/other_user}","gists_url":"https://api.github.com/users/sundapeng/gists{/gist_id}","starred_url":"https://api.github.com/users/sundapeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundapeng/subscriptions","organizations_url":"https://api.github.com/users/sundapeng/orgs","repos_url":"https://api.github.com/users/sundapeng/repos","events_url":"https://api.github.com/users/sundapeng/events{/privacy}","received_events_url":"https://api.github.com/users/sundapeng/received_events","type":"User","site_admin":false},"repo":{"id":39428718,"name":"tachyon","full_name":"sundapeng/tachyon","owner":{"login":"sundapeng","id":3818001,"avatar_url":"https://avatars.githubusercontent.com/u/3818001?v=3","gravatar_id":"","url":"https://api.github.com/users/sundapeng","html_url":"https://github.com/sundapeng","followers_url":"https://api.github.com/users/sundapeng/followers","following_url":"https://api.github.com/users/sundapeng/following{/other_user}","gists_url":"https://api.github.com/users/sundapeng/gists{/gist_id}","starred_url":"https://api.github.com/users/sundapeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sundapeng/subscriptions","organizations_url":"https://api.github.com/users/sundapeng/orgs","repos_url":"https://api.github.com/users/sundapeng/repos","events_url":"https://api.github.com/users/sundapeng/events{/privacy}","received_events_url":"https://api.github.com/users/sundapeng/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sundapeng/tachyon","description":" A Reliable Memory Centric Distributed Storage System","fork":true,"url":"https://api.github.com/repos/sundapeng/tachyon","forks_url":"https://api.github.com/repos/sundapeng/tachyon/forks","keys_url":"https://api.github.com/repos/sundapeng/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sundapeng/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sundapeng/tachyon/teams","hooks_url":"https://api.github.com/repos/sundapeng/tachyon/hooks","issue_events_url":"https://api.github.com/repos/sundapeng/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/sundapeng/tachyon/events","assignees_url":"https://api.github.com/repos/sundapeng/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/sundapeng/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/sundapeng/tachyon/tags","blobs_url":"https://api.github.com/repos/sundapeng/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sundapeng/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sundapeng/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/sundapeng/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sundapeng/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/sundapeng/tachyon/languages","stargazers_url":"https://api.github.com/repos/sundapeng/tachyon/stargazers","contributors_url":"https://api.github.com/repos/sundapeng/tachyon/contributors","subscribers_url":"https://api.github.com/repos/sundapeng/tachyon/subscribers","subscription_url":"https://api.github.com/repos/sundapeng/tachyon/subscription","commits_url":"https://api.github.com/repos/sundapeng/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/sundapeng/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/sundapeng/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/sundapeng/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/sundapeng/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/sundapeng/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sundapeng/tachyon/merges","archive_url":"https://api.github.com/repos/sundapeng/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sundapeng/tachyon/downloads","issues_url":"https://api.github.com/repos/sundapeng/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/sundapeng/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/sundapeng/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/sundapeng/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sundapeng/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/sundapeng/tachyon/releases{/id}","created_at":"2015-07-21T06:40:32Z","updated_at":"2015-07-21T06:40:34Z","pushed_at":"2015-08-10T03:20:18Z","git_url":"git://github.com/sundapeng/tachyon.git","ssh_url":"git@github.com:sundapeng/tachyon.git","clone_url":"https://github.com/sundapeng/tachyon.git","svn_url":"https://github.com/sundapeng/tachyon","homepage":"http://tachyon-project.org","size":15310,"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":"amplab:security","ref":"security","sha":"3dbaab04deeb257f65863c95787bde726f5f8dee","user":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"repo":{"id":7276954,"name":"tachyon","full_name":"amplab/tachyon","owner":{"login":"amplab","id":1438454,"avatar_url":"https://avatars.githubusercontent.com/u/1438454?v=3","gravatar_id":"","url":"https://api.github.com/users/amplab","html_url":"https://github.com/amplab","followers_url":"https://api.github.com/users/amplab/followers","following_url":"https://api.github.com/users/amplab/following{/other_user}","gists_url":"https://api.github.com/users/amplab/gists{/gist_id}","starred_url":"https://api.github.com/users/amplab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amplab/subscriptions","organizations_url":"https://api.github.com/users/amplab/orgs","repos_url":"https://api.github.com/users/amplab/repos","events_url":"https://api.github.com/users/amplab/events{/privacy}","received_events_url":"https://api.github.com/users/amplab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amplab/tachyon","description":" A Reliable Memory Centric Distributed Storage System","fork":false,"url":"https://api.github.com/repos/amplab/tachyon","forks_url":"https://api.github.com/repos/amplab/tachyon/forks","keys_url":"https://api.github.com/repos/amplab/tachyon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amplab/tachyon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amplab/tachyon/teams","hooks_url":"https://api.github.com/repos/amplab/tachyon/hooks","issue_events_url":"https://api.github.com/repos/amplab/tachyon/issues/events{/number}","events_url":"https://api.github.com/repos/amplab/tachyon/events","assignees_url":"https://api.github.com/repos/amplab/tachyon/assignees{/user}","branches_url":"https://api.github.com/repos/amplab/tachyon/branches{/branch}","tags_url":"https://api.github.com/repos/amplab/tachyon/tags","blobs_url":"https://api.github.com/repos/amplab/tachyon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amplab/tachyon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amplab/tachyon/git/refs{/sha}","trees_url":"https://api.github.com/repos/amplab/tachyon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amplab/tachyon/statuses/{sha}","languages_url":"https://api.github.com/repos/amplab/tachyon/languages","stargazers_url":"https://api.github.com/repos/amplab/tachyon/stargazers","contributors_url":"https://api.github.com/repos/amplab/tachyon/contributors","subscribers_url":"https://api.github.com/repos/amplab/tachyon/subscribers","subscription_url":"https://api.github.com/repos/amplab/tachyon/subscription","commits_url":"https://api.github.com/repos/amplab/tachyon/commits{/sha}","git_commits_url":"https://api.github.com/repos/amplab/tachyon/git/commits{/sha}","comments_url":"https://api.github.com/repos/amplab/tachyon/comments{/number}","issue_comment_url":"https://api.github.com/repos/amplab/tachyon/issues/comments{/number}","contents_url":"https://api.github.com/repos/amplab/tachyon/contents/{+path}","compare_url":"https://api.github.com/repos/amplab/tachyon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amplab/tachyon/merges","archive_url":"https://api.github.com/repos/amplab/tachyon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amplab/tachyon/downloads","issues_url":"https://api.github.com/repos/amplab/tachyon/issues{/number}","pulls_url":"https://api.github.com/repos/amplab/tachyon/pulls{/number}","milestones_url":"https://api.github.com/repos/amplab/tachyon/milestones{/number}","notifications_url":"https://api.github.com/repos/amplab/tachyon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amplab/tachyon/labels{/name}","releases_url":"https://api.github.com/repos/amplab/tachyon/releases{/id}","created_at":"2012-12-21T17:43:46Z","updated_at":"2015-08-09T08:45:24Z","pushed_at":"2015-08-10T03:20:19Z","git_url":"git://github.com/amplab/tachyon.git","ssh_url":"git@github.com:amplab/tachyon.git","clone_url":"https://github.com/amplab/tachyon.git","svn_url":"https://github.com/amplab/tachyon","homepage":"http://tachyon-project.org","size":38313,"stargazers_count":1494,"watchers_count":1494,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":576,"mirror_url":null,"open_issues_count":30,"forks":576,"open_issues":30,"watchers":1494,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1241"},"html":{"href":"https://github.com/amplab/tachyon/pull/1241"},"issue":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1241"},"comments":{"href":"https://api.github.com/repos/amplab/tachyon/issues/1241/comments"},"review_comments":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1241/comments"},"review_comment":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amplab/tachyon/pulls/1241/commits"},"statuses":{"href":"https://api.github.com/repos/amplab/tachyon/statuses/7bb4fbb5d9fe8f4f4e9923d015e4300754c91ac7"}}}}