{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/25548541","id":25548541,"diff_hunk":"@@ -0,0 +1,88 @@\n+/*\n+*Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.\n+*\n+*WSO2 Inc. licenses this file to you under the Apache License,\n+*Version 2.0 (the \"License\"); you may not use this file except\n+*in compliance with the License.\n+*You may obtain a copy of the License at\n+*\n+*http://www.apache.org/licenses/LICENSE-2.0\n+*\n+*Unless required by applicable law or agreed to in writing,\n+*software distributed under the License is distributed on an\n+*\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n+*KIND, either express or implied.  See the License for the\n+*specific language governing permissions and limitations\n+*under the License.\n+*/\n+\n+package org.wso2.carbon.identity.oauth2.token.handlers.clientauth;\n+\n+import org.apache.axis2.util.JavaUtils;\n+import org.apache.commons.lang.StringUtils;\n+import org.wso2.carbon.identity.oauth.common.OAuthConstants;\n+import org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception;\n+import org.wso2.carbon.identity.oauth2.dto.OAuth2AccessTokenReqDTO;\n+import org.wso2.carbon.identity.oauth2.token.OAuthTokenReqMessageContext;\n+\n+import java.util.Properties;\n+\n+public abstract class AbstractClientAuthHandler implements ClientAuthenticationHandler {\n+\n+    Properties properties;","path":"components/identity/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/handlers/clientauth/AbstractClientAuthHandler.java","position":32,"original_position":32,"commit_id":"db7f82b9992cb7120b3c304e233442e659eba1f0","original_commit_id":"db7f82b9992cb7120b3c304e233442e659eba1f0","user":{"login":"johannnallathamby","id":7780626,"avatar_url":"https://avatars.githubusercontent.com/u/7780626?v=3","gravatar_id":"","url":"https://api.github.com/users/johannnallathamby","html_url":"https://github.com/johannnallathamby","followers_url":"https://api.github.com/users/johannnallathamby/followers","following_url":"https://api.github.com/users/johannnallathamby/following{/other_user}","gists_url":"https://api.github.com/users/johannnallathamby/gists{/gist_id}","starred_url":"https://api.github.com/users/johannnallathamby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johannnallathamby/subscriptions","organizations_url":"https://api.github.com/users/johannnallathamby/orgs","repos_url":"https://api.github.com/users/johannnallathamby/repos","events_url":"https://api.github.com/users/johannnallathamby/events{/privacy}","received_events_url":"https://api.github.com/users/johannnallathamby/received_events","type":"User","site_admin":false},"body":"Must be protected otherwise will not work for subclasses not in same package","created_at":"2015-02-27T23:49:54Z","updated_at":"2015-02-27T23:49:54Z","html_url":"https://github.com/wso2/carbon-identity/pull/102#discussion_r25548541","pull_request_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/25548541"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/102#discussion_r25548541"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/102","id":29978604,"html_url":"https://github.com/wso2/carbon-identity/pull/102","diff_url":"https://github.com/wso2/carbon-identity/pull/102.diff","patch_url":"https://github.com/wso2/carbon-identity/pull/102.patch","issue_url":"https://api.github.com/repos/wso2/carbon-identity/issues/102","number":102,"state":"open","locked":false,"title":"Jira3028","user":{"login":"nuwandiw","id":10049188,"avatar_url":"https://avatars.githubusercontent.com/u/10049188?v=3","gravatar_id":"","url":"https://api.github.com/users/nuwandiw","html_url":"https://github.com/nuwandiw","followers_url":"https://api.github.com/users/nuwandiw/followers","following_url":"https://api.github.com/users/nuwandiw/following{/other_user}","gists_url":"https://api.github.com/users/nuwandiw/gists{/gist_id}","starred_url":"https://api.github.com/users/nuwandiw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuwandiw/subscriptions","organizations_url":"https://api.github.com/users/nuwandiw/orgs","repos_url":"https://api.github.com/users/nuwandiw/repos","events_url":"https://api.github.com/users/nuwandiw/events{/privacy}","received_events_url":"https://api.github.com/users/nuwandiw/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-02-25T11:13:56Z","updated_at":"2015-02-27T23:49:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"91fbf942067bb040a50d7b442509c462ff7ee3be","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/102/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/102/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/issues/102/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/db7f82b9992cb7120b3c304e233442e659eba1f0","head":{"label":"nuwandi-is:jira3032","ref":"jira3032","sha":"db7f82b9992cb7120b3c304e233442e659eba1f0","user":{"login":"nuwandi-is","id":10919367,"avatar_url":"https://avatars.githubusercontent.com/u/10919367?v=3","gravatar_id":"","url":"https://api.github.com/users/nuwandi-is","html_url":"https://github.com/nuwandi-is","followers_url":"https://api.github.com/users/nuwandi-is/followers","following_url":"https://api.github.com/users/nuwandi-is/following{/other_user}","gists_url":"https://api.github.com/users/nuwandi-is/gists{/gist_id}","starred_url":"https://api.github.com/users/nuwandi-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuwandi-is/subscriptions","organizations_url":"https://api.github.com/users/nuwandi-is/orgs","repos_url":"https://api.github.com/users/nuwandi-is/repos","events_url":"https://api.github.com/users/nuwandi-is/events{/privacy}","received_events_url":"https://api.github.com/users/nuwandi-is/received_events","type":"Organization","site_admin":false},"repo":{"id":30525618,"name":"carbon-identity","full_name":"nuwandi-is/carbon-identity","owner":{"login":"nuwandi-is","id":10919367,"avatar_url":"https://avatars.githubusercontent.com/u/10919367?v=3","gravatar_id":"","url":"https://api.github.com/users/nuwandi-is","html_url":"https://github.com/nuwandi-is","followers_url":"https://api.github.com/users/nuwandi-is/followers","following_url":"https://api.github.com/users/nuwandi-is/following{/other_user}","gists_url":"https://api.github.com/users/nuwandi-is/gists{/gist_id}","starred_url":"https://api.github.com/users/nuwandi-is/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nuwandi-is/subscriptions","organizations_url":"https://api.github.com/users/nuwandi-is/orgs","repos_url":"https://api.github.com/users/nuwandi-is/repos","events_url":"https://api.github.com/users/nuwandi-is/events{/privacy}","received_events_url":"https://api.github.com/users/nuwandi-is/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nuwandi-is/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/nuwandi-is/carbon-identity","forks_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/forks","keys_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/teams","hooks_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/events","assignees_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/tags","blobs_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/subscription","commits_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/merges","archive_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/downloads","issues_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/nuwandi-is/carbon-identity/releases{/id}","created_at":"2015-02-09T08:23:04Z","updated_at":"2015-02-27T04:55:49Z","pushed_at":"2015-02-27T08:11:22Z","git_url":"git://github.com/nuwandi-is/carbon-identity.git","ssh_url":"git@github.com:nuwandi-is/carbon-identity.git","clone_url":"https://github.com/nuwandi-is/carbon-identity.git","svn_url":"https://github.com/nuwandi-is/carbon-identity","homepage":null,"size":18342,"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":"wso2:master","ref":"master","sha":"eefdd4cc63d8030d82707047f70d8f778d0944e2","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":16588204,"name":"carbon-identity","full_name":"wso2/carbon-identity","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/carbon-identity","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-identity","forks_url":"https://api.github.com/repos/wso2/carbon-identity/forks","keys_url":"https://api.github.com/repos/wso2/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-identity/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-identity/events","assignees_url":"https://api.github.com/repos/wso2/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-identity/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-identity/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-identity/merges","archive_url":"https://api.github.com/repos/wso2/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-identity/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-identity/releases{/id}","created_at":"2014-02-06T17:58:23Z","updated_at":"2015-02-27T09:39:14Z","pushed_at":"2015-02-27T09:39:13Z","git_url":"git://github.com/wso2/carbon-identity.git","ssh_url":"git@github.com:wso2/carbon-identity.git","clone_url":"https://github.com/wso2/carbon-identity.git","svn_url":"https://github.com/wso2/carbon-identity","homepage":null,"size":22285,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":68,"mirror_url":null,"open_issues_count":10,"forks":68,"open_issues":10,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/102"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/102"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/102"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-identity/statuses/db7f82b9992cb7120b3c304e233442e659eba1f0"}}}}