{"action":"created","comment":{"url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/comments/89718295","pull_request_review_id":10255463,"id":89718295,"diff_hunk":"@@ -0,0 +1,34 @@\n+package org.wso2.carbon.tomcat.oidcsso.extension.sample;\n+\n+import java.io.IOException;\n+import java.io.PrintWriter;\n+import javax.servlet.ServletException;\n+import javax.servlet.http.HttpServlet;\n+import javax.servlet.http.HttpServletRequest;\n+import javax.servlet.http.HttpServletResponse;\n+\n+\n+/**\n+ * Sample java servlet to show if the user try to logout from already logged out web app.\n+ *\n+ * @since 6.0.0\n+ */\n+public class CoffeeShopLogOutServlet extends HttpServlet {\n+    private static final long serialVersionUID = -403072057369725183L;\n+\n+    @Override\n+    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {\n+        PrintWriter out = response.getWriter();\n+","path":"samples/oidc-sample-apps/coffee-shop/src/main/java/org/wso2/carbon/tomcat/oidcsso/extension/sample/CoffeeShopLogOutServlet.java","position":22,"original_position":22,"commit_id":"0fc78dee84b3d4d8db0d65c596b9effe10d40641","original_commit_id":"0fc78dee84b3d4d8db0d65c596b9effe10d40641","user":{"login":"Shan1024","id":4003115,"avatar_url":"https://avatars.githubusercontent.com/u/4003115?v=3","gravatar_id":"","url":"https://api.github.com/users/Shan1024","html_url":"https://github.com/Shan1024","followers_url":"https://api.github.com/users/Shan1024/followers","following_url":"https://api.github.com/users/Shan1024/following{/other_user}","gists_url":"https://api.github.com/users/Shan1024/gists{/gist_id}","starred_url":"https://api.github.com/users/Shan1024/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shan1024/subscriptions","organizations_url":"https://api.github.com/users/Shan1024/orgs","repos_url":"https://api.github.com/users/Shan1024/repos","events_url":"https://api.github.com/users/Shan1024/events{/privacy}","received_events_url":"https://api.github.com/users/Shan1024/received_events","type":"User","site_admin":false},"body":"This newline can be removed.","created_at":"2016-11-28T05:02:38Z","updated_at":"2016-11-28T05:02:38Z","html_url":"https://github.com/wso2-extensions/tomcat-extension-openidsso/pull/2#discussion_r89718295","pull_request_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/comments/89718295"},"html":{"href":"https://github.com/wso2-extensions/tomcat-extension-openidsso/pull/2#discussion_r89718295"},"pull_request":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2","id":95437143,"html_url":"https://github.com/wso2-extensions/tomcat-extension-openidsso/pull/2","diff_url":"https://github.com/wso2-extensions/tomcat-extension-openidsso/pull/2.diff","patch_url":"https://github.com/wso2-extensions/tomcat-extension-openidsso/pull/2.patch","issue_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/issues/2","number":2,"state":"open","locked":false,"title":"This is an extension of OpenID Connect Single Sign On and Single Logout for tomcat","user":{"login":"Abilashini","id":11737221,"avatar_url":"https://avatars.githubusercontent.com/u/11737221?v=3","gravatar_id":"","url":"https://api.github.com/users/Abilashini","html_url":"https://github.com/Abilashini","followers_url":"https://api.github.com/users/Abilashini/followers","following_url":"https://api.github.com/users/Abilashini/following{/other_user}","gists_url":"https://api.github.com/users/Abilashini/gists{/gist_id}","starred_url":"https://api.github.com/users/Abilashini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abilashini/subscriptions","organizations_url":"https://api.github.com/users/Abilashini/orgs","repos_url":"https://api.github.com/users/Abilashini/repos","events_url":"https://api.github.com/users/Abilashini/events{/privacy}","received_events_url":"https://api.github.com/users/Abilashini/received_events","type":"User","site_admin":false},"body":"This extension implements an OIDC agent with well defined methods of OIDC flow and a tomcat valve which uses the agent. \r\nThere are two sample apps configured with WSO2 IS which can be used to test the implementation. \r\nConfigurations specific to OIDC are defined in the oidc-config.xsd.\r\nREADME.md explains the details on testing the samples and configuring web apps.","created_at":"2016-11-28T04:37:18Z","updated_at":"2016-11-28T05:02:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6899f847b6807338dfea11eb247e5006d746347","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2/commits","review_comments_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2/comments","review_comment_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/issues/2/comments","statuses_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/statuses/0fc78dee84b3d4d8db0d65c596b9effe10d40641","head":{"label":"Abilashini:refactor-2","ref":"refactor-2","sha":"0fc78dee84b3d4d8db0d65c596b9effe10d40641","user":{"login":"Abilashini","id":11737221,"avatar_url":"https://avatars.githubusercontent.com/u/11737221?v=3","gravatar_id":"","url":"https://api.github.com/users/Abilashini","html_url":"https://github.com/Abilashini","followers_url":"https://api.github.com/users/Abilashini/followers","following_url":"https://api.github.com/users/Abilashini/following{/other_user}","gists_url":"https://api.github.com/users/Abilashini/gists{/gist_id}","starred_url":"https://api.github.com/users/Abilashini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abilashini/subscriptions","organizations_url":"https://api.github.com/users/Abilashini/orgs","repos_url":"https://api.github.com/users/Abilashini/repos","events_url":"https://api.github.com/users/Abilashini/events{/privacy}","received_events_url":"https://api.github.com/users/Abilashini/received_events","type":"User","site_admin":false},"repo":{"id":73798877,"name":"tomcat-extension-openidsso","full_name":"Abilashini/tomcat-extension-openidsso","owner":{"login":"Abilashini","id":11737221,"avatar_url":"https://avatars.githubusercontent.com/u/11737221?v=3","gravatar_id":"","url":"https://api.github.com/users/Abilashini","html_url":"https://github.com/Abilashini","followers_url":"https://api.github.com/users/Abilashini/followers","following_url":"https://api.github.com/users/Abilashini/following{/other_user}","gists_url":"https://api.github.com/users/Abilashini/gists{/gist_id}","starred_url":"https://api.github.com/users/Abilashini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Abilashini/subscriptions","organizations_url":"https://api.github.com/users/Abilashini/orgs","repos_url":"https://api.github.com/users/Abilashini/repos","events_url":"https://api.github.com/users/Abilashini/events{/privacy}","received_events_url":"https://api.github.com/users/Abilashini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Abilashini/tomcat-extension-openidsso","description":null,"fork":true,"url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso","forks_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/forks","keys_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/teams","hooks_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/hooks","issue_events_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/issues/events{/number}","events_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/events","assignees_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/assignees{/user}","branches_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/branches{/branch}","tags_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/tags","blobs_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/git/refs{/sha}","trees_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/statuses/{sha}","languages_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/languages","stargazers_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/stargazers","contributors_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/contributors","subscribers_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/subscribers","subscription_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/subscription","commits_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/commits{/sha}","git_commits_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/git/commits{/sha}","comments_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/comments{/number}","issue_comment_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/issues/comments{/number}","contents_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/contents/{+path}","compare_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/merges","archive_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/downloads","issues_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/issues{/number}","pulls_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/pulls{/number}","milestones_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/milestones{/number}","notifications_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/labels{/name}","releases_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/releases{/id}","deployments_url":"https://api.github.com/repos/Abilashini/tomcat-extension-openidsso/deployments","created_at":"2016-11-15T09:39:52Z","updated_at":"2016-11-23T11:59:24Z","pushed_at":"2016-11-28T03:35:07Z","git_url":"git://github.com/Abilashini/tomcat-extension-openidsso.git","ssh_url":"git@github.com:Abilashini/tomcat-extension-openidsso.git","clone_url":"https://github.com/Abilashini/tomcat-extension-openidsso.git","svn_url":"https://github.com/Abilashini/tomcat-extension-openidsso","homepage":null,"size":383,"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-extensions:master","ref":"master","sha":"9778c8579a1f92a0b2569f1241ac68b330ef9c22","user":{"login":"wso2-extensions","id":17171218,"avatar_url":"https://avatars.githubusercontent.com/u/17171218?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-extensions","html_url":"https://github.com/wso2-extensions","followers_url":"https://api.github.com/users/wso2-extensions/followers","following_url":"https://api.github.com/users/wso2-extensions/following{/other_user}","gists_url":"https://api.github.com/users/wso2-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-extensions/subscriptions","organizations_url":"https://api.github.com/users/wso2-extensions/orgs","repos_url":"https://api.github.com/users/wso2-extensions/repos","events_url":"https://api.github.com/users/wso2-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-extensions/received_events","type":"Organization","site_admin":false},"repo":{"id":73722970,"name":"tomcat-extension-openidsso","full_name":"wso2-extensions/tomcat-extension-openidsso","owner":{"login":"wso2-extensions","id":17171218,"avatar_url":"https://avatars.githubusercontent.com/u/17171218?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2-extensions","html_url":"https://github.com/wso2-extensions","followers_url":"https://api.github.com/users/wso2-extensions/followers","following_url":"https://api.github.com/users/wso2-extensions/following{/other_user}","gists_url":"https://api.github.com/users/wso2-extensions/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2-extensions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2-extensions/subscriptions","organizations_url":"https://api.github.com/users/wso2-extensions/orgs","repos_url":"https://api.github.com/users/wso2-extensions/repos","events_url":"https://api.github.com/users/wso2-extensions/events{/privacy}","received_events_url":"https://api.github.com/users/wso2-extensions/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2-extensions/tomcat-extension-openidsso","description":null,"fork":false,"url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso","forks_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/forks","keys_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/teams","hooks_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/hooks","issue_events_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/issues/events{/number}","events_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/events","assignees_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/assignees{/user}","branches_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/branches{/branch}","tags_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/tags","blobs_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/languages","stargazers_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/stargazers","contributors_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/contributors","subscribers_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/subscribers","subscription_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/subscription","commits_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/contents/{+path}","compare_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/merges","archive_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/downloads","issues_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/issues{/number}","pulls_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/labels{/name}","releases_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/releases{/id}","deployments_url":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/deployments","created_at":"2016-11-14T16:10:00Z","updated_at":"2016-11-14T16:10:00Z","pushed_at":"2016-11-28T04:37:18Z","git_url":"git://github.com/wso2-extensions/tomcat-extension-openidsso.git","ssh_url":"git@github.com:wso2-extensions/tomcat-extension-openidsso.git","clone_url":"https://github.com/wso2-extensions/tomcat-extension-openidsso.git","svn_url":"https://github.com/wso2-extensions/tomcat-extension-openidsso","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2"},"html":{"href":"https://github.com/wso2-extensions/tomcat-extension-openidsso/pull/2"},"issue":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/issues/2"},"comments":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/wso2-extensions/tomcat-extension-openidsso/statuses/0fc78dee84b3d4d8db0d65c596b9effe10d40641"}}}}
{"actor":{"display_login":"Shan1024"}}