{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/38813937","id":38813937,"diff_hunk":"@@ -46,27 +39,15 @@\n import java.security.MessageDigest;\n import java.security.NoSuchAlgorithmException;\n import java.security.SignatureException;\n-import java.security.cert.Certificate;\n-import java.security.cert.CertificateEncodingException;\n-import java.security.cert.CertificateException;\n-import java.security.cert.CertificateFactory;\n-import java.security.cert.X509Certificate;\n+import java.security.cert.*;\n import java.sql.Connection;\n import java.sql.PreparedStatement;\n import java.sql.ResultSet;\n import java.sql.SQLException;\n import java.text.Format;\n import java.text.SimpleDateFormat;\n-import java.util.Arrays;\n-import java.util.Date;\n-import java.util.HashMap;\n-import java.util.HashSet;\n-import java.util.Iterator;\n-import java.util.List;\n-import java.util.Map;\n+import java.util.*;","path":"components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/util/IdentityApplicationManagementUtil.java","position":39,"original_position":39,"commit_id":"3918213f3de2a7d7a6c6341620c468a5b26a9e60","original_commit_id":"3918213f3de2a7d7a6c6341620c468a5b26a9e60","user":{"login":"cdwijayarathna","id":1338607,"avatar_url":"https://avatars.githubusercontent.com/u/1338607?v=3","gravatar_id":"","url":"https://api.github.com/users/cdwijayarathna","html_url":"https://github.com/cdwijayarathna","followers_url":"https://api.github.com/users/cdwijayarathna/followers","following_url":"https://api.github.com/users/cdwijayarathna/following{/other_user}","gists_url":"https://api.github.com/users/cdwijayarathna/gists{/gist_id}","starred_url":"https://api.github.com/users/cdwijayarathna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdwijayarathna/subscriptions","organizations_url":"https://api.github.com/users/cdwijayarathna/orgs","repos_url":"https://api.github.com/users/cdwijayarathna/repos","events_url":"https://api.github.com/users/cdwijayarathna/events{/privacy}","received_events_url":"https://api.github.com/users/cdwijayarathna/received_events","type":"User","site_admin":false},"body":"Don't use * imports\r\n","created_at":"2015-09-05T19:21:09Z","updated_at":"2015-09-05T19:21:09Z","html_url":"https://github.com/wso2/carbon-identity/pull/921#discussion_r38813937","pull_request_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/921","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/38813937"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/921#discussion_r38813937"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/921"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/921","id":44288577,"html_url":"https://github.com/wso2/carbon-identity/pull/921","diff_url":"https://github.com/wso2/carbon-identity/pull/921.diff","patch_url":"https://github.com/wso2/carbon-identity/pull/921.patch","issue_url":"https://api.github.com/repos/wso2/carbon-identity/issues/921","number":921,"state":"open","locked":false,"title":"2993","user":{"login":"ChamaraPhilipsuom","id":1553267,"avatar_url":"https://avatars.githubusercontent.com/u/1553267?v=3","gravatar_id":"","url":"https://api.github.com/users/ChamaraPhilipsuom","html_url":"https://github.com/ChamaraPhilipsuom","followers_url":"https://api.github.com/users/ChamaraPhilipsuom/followers","following_url":"https://api.github.com/users/ChamaraPhilipsuom/following{/other_user}","gists_url":"https://api.github.com/users/ChamaraPhilipsuom/gists{/gist_id}","starred_url":"https://api.github.com/users/ChamaraPhilipsuom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChamaraPhilipsuom/subscriptions","organizations_url":"https://api.github.com/users/ChamaraPhilipsuom/orgs","repos_url":"https://api.github.com/users/ChamaraPhilipsuom/repos","events_url":"https://api.github.com/users/ChamaraPhilipsuom/events{/privacy}","received_events_url":"https://api.github.com/users/ChamaraPhilipsuom/received_events","type":"User","site_admin":false},"body":"Signing the response and assertions in DefaultResponseBuilder, DefaultAssertionBuilder as requested in https://wso2.org/jira/browse/IDENTITY-2993. Additionally SAMLResponseBuilder also using the selected signing algorithm. ","created_at":"2015-09-05T19:08:13Z","updated_at":"2015-09-05T19:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"28b3779201b44aae837a67fe13f15afe991a052a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/921/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/921/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/921/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/3918213f3de2a7d7a6c6341620c468a5b26a9e60","head":{"label":"ChamaraPhilipsuom:2993","ref":"2993","sha":"3918213f3de2a7d7a6c6341620c468a5b26a9e60","user":{"login":"ChamaraPhilipsuom","id":1553267,"avatar_url":"https://avatars.githubusercontent.com/u/1553267?v=3","gravatar_id":"","url":"https://api.github.com/users/ChamaraPhilipsuom","html_url":"https://github.com/ChamaraPhilipsuom","followers_url":"https://api.github.com/users/ChamaraPhilipsuom/followers","following_url":"https://api.github.com/users/ChamaraPhilipsuom/following{/other_user}","gists_url":"https://api.github.com/users/ChamaraPhilipsuom/gists{/gist_id}","starred_url":"https://api.github.com/users/ChamaraPhilipsuom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChamaraPhilipsuom/subscriptions","organizations_url":"https://api.github.com/users/ChamaraPhilipsuom/orgs","repos_url":"https://api.github.com/users/ChamaraPhilipsuom/repos","events_url":"https://api.github.com/users/ChamaraPhilipsuom/events{/privacy}","received_events_url":"https://api.github.com/users/ChamaraPhilipsuom/received_events","type":"User","site_admin":false},"repo":{"id":37702537,"name":"carbon-identity","full_name":"ChamaraPhilipsuom/carbon-identity","owner":{"login":"ChamaraPhilipsuom","id":1553267,"avatar_url":"https://avatars.githubusercontent.com/u/1553267?v=3","gravatar_id":"","url":"https://api.github.com/users/ChamaraPhilipsuom","html_url":"https://github.com/ChamaraPhilipsuom","followers_url":"https://api.github.com/users/ChamaraPhilipsuom/followers","following_url":"https://api.github.com/users/ChamaraPhilipsuom/following{/other_user}","gists_url":"https://api.github.com/users/ChamaraPhilipsuom/gists{/gist_id}","starred_url":"https://api.github.com/users/ChamaraPhilipsuom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ChamaraPhilipsuom/subscriptions","organizations_url":"https://api.github.com/users/ChamaraPhilipsuom/orgs","repos_url":"https://api.github.com/users/ChamaraPhilipsuom/repos","events_url":"https://api.github.com/users/ChamaraPhilipsuom/events{/privacy}","received_events_url":"https://api.github.com/users/ChamaraPhilipsuom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ChamaraPhilipsuom/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity","forks_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/forks","keys_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/teams","hooks_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/events","assignees_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/tags","blobs_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/subscription","commits_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/merges","archive_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/downloads","issues_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/ChamaraPhilipsuom/carbon-identity/releases{/id}","created_at":"2015-06-19T05:01:25Z","updated_at":"2015-06-19T05:01:32Z","pushed_at":"2015-09-05T19:05:13Z","git_url":"git://github.com/ChamaraPhilipsuom/carbon-identity.git","ssh_url":"git@github.com:ChamaraPhilipsuom/carbon-identity.git","clone_url":"https://github.com/ChamaraPhilipsuom/carbon-identity.git","svn_url":"https://github.com/ChamaraPhilipsuom/carbon-identity","homepage":null,"size":45408,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"wso2:master","ref":"master","sha":"1edf6ceb66ac4fe209bedf1e028fa9f125eac30b","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-07-24T18:32:22Z","pushed_at":"2015-09-05T19:08: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":111140,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":120,"mirror_url":null,"open_issues_count":50,"forks":120,"open_issues":50,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/921"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/921"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/921"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/921/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/921/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/921/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-identity/statuses/3918213f3de2a7d7a6c6341620c468a5b26a9e60"}}}}