{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/49291897","id":49291897,"diff_hunk":"@@ -0,0 +1,106 @@\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.internal;\n+\n+import org.wso2.carbon.identity.oauth.OAuthUtil;\n+import org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception;\n+import org.wso2.carbon.identity.oauth2.dao.TokenMgtDAO;\n+import org.wso2.carbon.identity.oauth2.model.AccessTokenDO;\n+import org.wso2.carbon.identity.oauth2.model.AuthzCodeDO;\n+import org.wso2.carbon.identity.oauth2.util.OAuth2Util;\n+import org.wso2.carbon.identity.user.store.configuration.listener.UserStoreConfigListener;\n+import org.wso2.carbon.user.api.UserStoreException;\n+\n+import java.util.*;","path":"components/oauth/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/internal/OAuthUserStoreConfigListenerImpl.java","position":30,"original_position":30,"commit_id":"3ab8fa493694500fc53d393f605abaa3d1249902","original_commit_id":"3ab8fa493694500fc53d393f605abaa3d1249902","user":{"login":"madurangasiriwardena","id":1332991,"avatar_url":"https://avatars.githubusercontent.com/u/1332991?v=3","gravatar_id":"","url":"https://api.github.com/users/madurangasiriwardena","html_url":"https://github.com/madurangasiriwardena","followers_url":"https://api.github.com/users/madurangasiriwardena/followers","following_url":"https://api.github.com/users/madurangasiriwardena/following{/other_user}","gists_url":"https://api.github.com/users/madurangasiriwardena/gists{/gist_id}","starred_url":"https://api.github.com/users/madurangasiriwardena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madurangasiriwardena/subscriptions","organizations_url":"https://api.github.com/users/madurangasiriwardena/orgs","repos_url":"https://api.github.com/users/madurangasiriwardena/repos","events_url":"https://api.github.com/users/madurangasiriwardena/events{/privacy}","received_events_url":"https://api.github.com/users/madurangasiriwardena/received_events","type":"User","site_admin":false},"body":"Fixed with 43f6a5676e8e49c0d9595d500d056a836e0b5177","created_at":"2016-01-11T06:06:24Z","updated_at":"2016-01-11T06:06:24Z","html_url":"https://github.com/wso2/carbon-identity/pull/687#discussion_r49291897","pull_request_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/687","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/49291897"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/687#discussion_r49291897"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/687"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/687","id":40887826,"html_url":"https://github.com/wso2/carbon-identity/pull/687","diff_url":"https://github.com/wso2/carbon-identity/pull/687.diff","patch_url":"https://github.com/wso2/carbon-identity/pull/687.patch","issue_url":"https://api.github.com/repos/wso2/carbon-identity/issues/687","number":687,"state":"closed","locked":false,"title":"fixing IDENTITY-3413 Split AUTHZ_USER column of IDN_OAUTH2_ACCESS_TOKEN table into USER_DOMAIN and AUTHZ_USER","user":{"login":"madurangasiriwardena","id":1332991,"avatar_url":"https://avatars.githubusercontent.com/u/1332991?v=3","gravatar_id":"","url":"https://api.github.com/users/madurangasiriwardena","html_url":"https://github.com/madurangasiriwardena","followers_url":"https://api.github.com/users/madurangasiriwardena/followers","following_url":"https://api.github.com/users/madurangasiriwardena/following{/other_user}","gists_url":"https://api.github.com/users/madurangasiriwardena/gists{/gist_id}","starred_url":"https://api.github.com/users/madurangasiriwardena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madurangasiriwardena/subscriptions","organizations_url":"https://api.github.com/users/madurangasiriwardena/orgs","repos_url":"https://api.github.com/users/madurangasiriwardena/repos","events_url":"https://api.github.com/users/madurangasiriwardena/events{/privacy}","received_events_url":"https://api.github.com/users/madurangasiriwardena/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-07-27T10:07:43Z","updated_at":"2016-01-11T06:06:24Z","closed_at":"2015-07-27T15:51:19Z","merged_at":"2015-07-27T15:51:19Z","merge_commit_sha":"75affd200d0f3094600386f4d422a799fefbb639","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/687/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/687/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/687/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/3ab8fa493694500fc53d393f605abaa3d1249902","head":{"label":"madurangasiriwardena:IDENTITY-3413-3","ref":"IDENTITY-3413-3","sha":"3ab8fa493694500fc53d393f605abaa3d1249902","user":{"login":"madurangasiriwardena","id":1332991,"avatar_url":"https://avatars.githubusercontent.com/u/1332991?v=3","gravatar_id":"","url":"https://api.github.com/users/madurangasiriwardena","html_url":"https://github.com/madurangasiriwardena","followers_url":"https://api.github.com/users/madurangasiriwardena/followers","following_url":"https://api.github.com/users/madurangasiriwardena/following{/other_user}","gists_url":"https://api.github.com/users/madurangasiriwardena/gists{/gist_id}","starred_url":"https://api.github.com/users/madurangasiriwardena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madurangasiriwardena/subscriptions","organizations_url":"https://api.github.com/users/madurangasiriwardena/orgs","repos_url":"https://api.github.com/users/madurangasiriwardena/repos","events_url":"https://api.github.com/users/madurangasiriwardena/events{/privacy}","received_events_url":"https://api.github.com/users/madurangasiriwardena/received_events","type":"User","site_admin":false},"repo":{"id":35476455,"name":"carbon-identity","full_name":"madurangasiriwardena/carbon-identity","owner":{"login":"madurangasiriwardena","id":1332991,"avatar_url":"https://avatars.githubusercontent.com/u/1332991?v=3","gravatar_id":"","url":"https://api.github.com/users/madurangasiriwardena","html_url":"https://github.com/madurangasiriwardena","followers_url":"https://api.github.com/users/madurangasiriwardena/followers","following_url":"https://api.github.com/users/madurangasiriwardena/following{/other_user}","gists_url":"https://api.github.com/users/madurangasiriwardena/gists{/gist_id}","starred_url":"https://api.github.com/users/madurangasiriwardena/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madurangasiriwardena/subscriptions","organizations_url":"https://api.github.com/users/madurangasiriwardena/orgs","repos_url":"https://api.github.com/users/madurangasiriwardena/repos","events_url":"https://api.github.com/users/madurangasiriwardena/events{/privacy}","received_events_url":"https://api.github.com/users/madurangasiriwardena/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/madurangasiriwardena/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity","forks_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/forks","keys_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/teams","hooks_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/events","assignees_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/tags","blobs_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/subscription","commits_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/merges","archive_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/downloads","issues_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/madurangasiriwardena/carbon-identity/releases{/id}","created_at":"2015-05-12T08:33:50Z","updated_at":"2015-05-12T08:33:59Z","pushed_at":"2016-01-09T11:48:06Z","git_url":"git://github.com/madurangasiriwardena/carbon-identity.git","ssh_url":"git@github.com:madurangasiriwardena/carbon-identity.git","clone_url":"https://github.com/madurangasiriwardena/carbon-identity.git","svn_url":"https://github.com/madurangasiriwardena/carbon-identity","homepage":null,"size":53286,"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":"a1aeef5fce656d949f99ff128f1259f6352a04bb","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":"2016-01-09T19:46:34Z","pushed_at":"2016-01-09T11:48:07Z","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":78144,"stargazers_count":13,"watchers_count":13,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":164,"mirror_url":null,"open_issues_count":57,"forks":164,"open_issues":57,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/687"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/687"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/687"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/687/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/687/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/687/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-identity/statuses/3ab8fa493694500fc53d393f605abaa3d1249902"}}}}