{"action":"created","comment":{"url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/comments/64486895","id":64486895,"diff_hunk":"@@ -13,19 +13,25 @@\n import javax.servlet.http.HttpServletRequest;\n import javax.servlet.http.HttpServletResponse;\n \n+import org.apache.commons.logging.Log;\n+import org.apache.commons.logging.LogFactory;\n+\n import co.refiere.services.AuthenticationService;\n+import co.refiere.services.CompanyService;\n \n public class AuthenticationFilter implements javax.servlet.Filter {\n     public static final String AUTHENTICATION_HEADER = \"Authorization\";\n     private List<String> excludedPaths = new ArrayList<String>();\n-    \n+    private static final Log LOGGER = LogFactory.getLog(AuthenticationFilter.class);\n+\n     @Override\n     public void doFilter(ServletRequest request, ServletResponse response,\n             FilterChain filterChain) throws IOException, ServletException {\n \n         String path = ((HttpServletRequest) request).getRequestURI();\n         //If the url is one of excluded paths, then just continue with next filter\n         if (this.excludedPaths.contains(path)) {\n+            LOGGER.info(\"Excluded end-point: \" + path);","path":"src/main/java/co/refiere/resources/filter/AuthenticationFilter.java","position":23,"original_position":23,"commit_id":"24f3a4c3225ba2c5bac28d4c77d7517d024e8b1a","original_commit_id":"24f3a4c3225ba2c5bac28d4c77d7517d024e8b1a","user":{"login":"tebanhdez","id":1818178,"avatar_url":"https://avatars.githubusercontent.com/u/1818178?v=3","gravatar_id":"","url":"https://api.github.com/users/tebanhdez","html_url":"https://github.com/tebanhdez","followers_url":"https://api.github.com/users/tebanhdez/followers","following_url":"https://api.github.com/users/tebanhdez/following{/other_user}","gists_url":"https://api.github.com/users/tebanhdez/gists{/gist_id}","starred_url":"https://api.github.com/users/tebanhdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebanhdez/subscriptions","organizations_url":"https://api.github.com/users/tebanhdez/orgs","repos_url":"https://api.github.com/users/tebanhdez/repos","events_url":"https://api.github.com/users/tebanhdez/events{/privacy}","received_events_url":"https://api.github.com/users/tebanhdez/received_events","type":"User","site_admin":false},"body":"Remove this line\r\n","created_at":"2016-05-24T22:32:52Z","updated_at":"2016-05-24T22:32:52Z","html_url":"https://github.com/tebanhdez/refiere.co/pull/13#discussion_r64486895","pull_request_url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/comments/64486895"},"html":{"href":"https://github.com/tebanhdez/refiere.co/pull/13#discussion_r64486895"},"pull_request":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13","id":71129590,"html_url":"https://github.com/tebanhdez/refiere.co/pull/13","diff_url":"https://github.com/tebanhdez/refiere.co/pull/13.diff","patch_url":"https://github.com/tebanhdez/refiere.co/pull/13.patch","issue_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues/13","number":13,"state":"open","locked":false,"title":"Registration and login","user":{"login":"FernandoSanchezLeiva04","id":10984428,"avatar_url":"https://avatars.githubusercontent.com/u/10984428?v=3","gravatar_id":"","url":"https://api.github.com/users/FernandoSanchezLeiva04","html_url":"https://github.com/FernandoSanchezLeiva04","followers_url":"https://api.github.com/users/FernandoSanchezLeiva04/followers","following_url":"https://api.github.com/users/FernandoSanchezLeiva04/following{/other_user}","gists_url":"https://api.github.com/users/FernandoSanchezLeiva04/gists{/gist_id}","starred_url":"https://api.github.com/users/FernandoSanchezLeiva04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FernandoSanchezLeiva04/subscriptions","organizations_url":"https://api.github.com/users/FernandoSanchezLeiva04/orgs","repos_url":"https://api.github.com/users/FernandoSanchezLeiva04/repos","events_url":"https://api.github.com/users/FernandoSanchezLeiva04/events{/privacy}","received_events_url":"https://api.github.com/users/FernandoSanchezLeiva04/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-23T22:16:09Z","updated_at":"2016-05-24T22:32:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f16c90aa13ed1cc85753fd0b98fba475870d4ae9","assignee":{"login":"tebanhdez","id":1818178,"avatar_url":"https://avatars.githubusercontent.com/u/1818178?v=3","gravatar_id":"","url":"https://api.github.com/users/tebanhdez","html_url":"https://github.com/tebanhdez","followers_url":"https://api.github.com/users/tebanhdez/followers","following_url":"https://api.github.com/users/tebanhdez/following{/other_user}","gists_url":"https://api.github.com/users/tebanhdez/gists{/gist_id}","starred_url":"https://api.github.com/users/tebanhdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebanhdez/subscriptions","organizations_url":"https://api.github.com/users/tebanhdez/orgs","repos_url":"https://api.github.com/users/tebanhdez/repos","events_url":"https://api.github.com/users/tebanhdez/events{/privacy}","received_events_url":"https://api.github.com/users/tebanhdez/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13/commits","review_comments_url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13/comments","review_comment_url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues/13/comments","statuses_url":"https://api.github.com/repos/tebanhdez/refiere.co/statuses/24f3a4c3225ba2c5bac28d4c77d7517d024e8b1a","head":{"label":"tebanhdez:registration_login","ref":"registration_login","sha":"24f3a4c3225ba2c5bac28d4c77d7517d024e8b1a","user":{"login":"tebanhdez","id":1818178,"avatar_url":"https://avatars.githubusercontent.com/u/1818178?v=3","gravatar_id":"","url":"https://api.github.com/users/tebanhdez","html_url":"https://github.com/tebanhdez","followers_url":"https://api.github.com/users/tebanhdez/followers","following_url":"https://api.github.com/users/tebanhdez/following{/other_user}","gists_url":"https://api.github.com/users/tebanhdez/gists{/gist_id}","starred_url":"https://api.github.com/users/tebanhdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebanhdez/subscriptions","organizations_url":"https://api.github.com/users/tebanhdez/orgs","repos_url":"https://api.github.com/users/tebanhdez/repos","events_url":"https://api.github.com/users/tebanhdez/events{/privacy}","received_events_url":"https://api.github.com/users/tebanhdez/received_events","type":"User","site_admin":false},"repo":{"id":56186747,"name":"refiere.co","full_name":"tebanhdez/refiere.co","owner":{"login":"tebanhdez","id":1818178,"avatar_url":"https://avatars.githubusercontent.com/u/1818178?v=3","gravatar_id":"","url":"https://api.github.com/users/tebanhdez","html_url":"https://github.com/tebanhdez","followers_url":"https://api.github.com/users/tebanhdez/followers","following_url":"https://api.github.com/users/tebanhdez/following{/other_user}","gists_url":"https://api.github.com/users/tebanhdez/gists{/gist_id}","starred_url":"https://api.github.com/users/tebanhdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebanhdez/subscriptions","organizations_url":"https://api.github.com/users/tebanhdez/orgs","repos_url":"https://api.github.com/users/tebanhdez/repos","events_url":"https://api.github.com/users/tebanhdez/events{/privacy}","received_events_url":"https://api.github.com/users/tebanhdez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tebanhdez/refiere.co","description":"Refiere.co","fork":false,"url":"https://api.github.com/repos/tebanhdez/refiere.co","forks_url":"https://api.github.com/repos/tebanhdez/refiere.co/forks","keys_url":"https://api.github.com/repos/tebanhdez/refiere.co/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tebanhdez/refiere.co/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tebanhdez/refiere.co/teams","hooks_url":"https://api.github.com/repos/tebanhdez/refiere.co/hooks","issue_events_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues/events{/number}","events_url":"https://api.github.com/repos/tebanhdez/refiere.co/events","assignees_url":"https://api.github.com/repos/tebanhdez/refiere.co/assignees{/user}","branches_url":"https://api.github.com/repos/tebanhdez/refiere.co/branches{/branch}","tags_url":"https://api.github.com/repos/tebanhdez/refiere.co/tags","blobs_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/refs{/sha}","trees_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tebanhdez/refiere.co/statuses/{sha}","languages_url":"https://api.github.com/repos/tebanhdez/refiere.co/languages","stargazers_url":"https://api.github.com/repos/tebanhdez/refiere.co/stargazers","contributors_url":"https://api.github.com/repos/tebanhdez/refiere.co/contributors","subscribers_url":"https://api.github.com/repos/tebanhdez/refiere.co/subscribers","subscription_url":"https://api.github.com/repos/tebanhdez/refiere.co/subscription","commits_url":"https://api.github.com/repos/tebanhdez/refiere.co/commits{/sha}","git_commits_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/commits{/sha}","comments_url":"https://api.github.com/repos/tebanhdez/refiere.co/comments{/number}","issue_comment_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues/comments{/number}","contents_url":"https://api.github.com/repos/tebanhdez/refiere.co/contents/{+path}","compare_url":"https://api.github.com/repos/tebanhdez/refiere.co/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tebanhdez/refiere.co/merges","archive_url":"https://api.github.com/repos/tebanhdez/refiere.co/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tebanhdez/refiere.co/downloads","issues_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues{/number}","pulls_url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls{/number}","milestones_url":"https://api.github.com/repos/tebanhdez/refiere.co/milestones{/number}","notifications_url":"https://api.github.com/repos/tebanhdez/refiere.co/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tebanhdez/refiere.co/labels{/name}","releases_url":"https://api.github.com/repos/tebanhdez/refiere.co/releases{/id}","deployments_url":"https://api.github.com/repos/tebanhdez/refiere.co/deployments","created_at":"2016-04-13T21:17:05Z","updated_at":"2016-04-27T20:02:09Z","pushed_at":"2016-05-24T22:00:29Z","git_url":"git://github.com/tebanhdez/refiere.co.git","ssh_url":"git@github.com:tebanhdez/refiere.co.git","clone_url":"https://github.com/tebanhdez/refiere.co.git","svn_url":"https://github.com/tebanhdez/refiere.co","homepage":null,"size":2924,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"dev"}},"base":{"label":"tebanhdez:dev","ref":"dev","sha":"22704ccd37aa5abdf06cc67d891f775910bf88db","user":{"login":"tebanhdez","id":1818178,"avatar_url":"https://avatars.githubusercontent.com/u/1818178?v=3","gravatar_id":"","url":"https://api.github.com/users/tebanhdez","html_url":"https://github.com/tebanhdez","followers_url":"https://api.github.com/users/tebanhdez/followers","following_url":"https://api.github.com/users/tebanhdez/following{/other_user}","gists_url":"https://api.github.com/users/tebanhdez/gists{/gist_id}","starred_url":"https://api.github.com/users/tebanhdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebanhdez/subscriptions","organizations_url":"https://api.github.com/users/tebanhdez/orgs","repos_url":"https://api.github.com/users/tebanhdez/repos","events_url":"https://api.github.com/users/tebanhdez/events{/privacy}","received_events_url":"https://api.github.com/users/tebanhdez/received_events","type":"User","site_admin":false},"repo":{"id":56186747,"name":"refiere.co","full_name":"tebanhdez/refiere.co","owner":{"login":"tebanhdez","id":1818178,"avatar_url":"https://avatars.githubusercontent.com/u/1818178?v=3","gravatar_id":"","url":"https://api.github.com/users/tebanhdez","html_url":"https://github.com/tebanhdez","followers_url":"https://api.github.com/users/tebanhdez/followers","following_url":"https://api.github.com/users/tebanhdez/following{/other_user}","gists_url":"https://api.github.com/users/tebanhdez/gists{/gist_id}","starred_url":"https://api.github.com/users/tebanhdez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tebanhdez/subscriptions","organizations_url":"https://api.github.com/users/tebanhdez/orgs","repos_url":"https://api.github.com/users/tebanhdez/repos","events_url":"https://api.github.com/users/tebanhdez/events{/privacy}","received_events_url":"https://api.github.com/users/tebanhdez/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tebanhdez/refiere.co","description":"Refiere.co","fork":false,"url":"https://api.github.com/repos/tebanhdez/refiere.co","forks_url":"https://api.github.com/repos/tebanhdez/refiere.co/forks","keys_url":"https://api.github.com/repos/tebanhdez/refiere.co/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tebanhdez/refiere.co/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tebanhdez/refiere.co/teams","hooks_url":"https://api.github.com/repos/tebanhdez/refiere.co/hooks","issue_events_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues/events{/number}","events_url":"https://api.github.com/repos/tebanhdez/refiere.co/events","assignees_url":"https://api.github.com/repos/tebanhdez/refiere.co/assignees{/user}","branches_url":"https://api.github.com/repos/tebanhdez/refiere.co/branches{/branch}","tags_url":"https://api.github.com/repos/tebanhdez/refiere.co/tags","blobs_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/refs{/sha}","trees_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tebanhdez/refiere.co/statuses/{sha}","languages_url":"https://api.github.com/repos/tebanhdez/refiere.co/languages","stargazers_url":"https://api.github.com/repos/tebanhdez/refiere.co/stargazers","contributors_url":"https://api.github.com/repos/tebanhdez/refiere.co/contributors","subscribers_url":"https://api.github.com/repos/tebanhdez/refiere.co/subscribers","subscription_url":"https://api.github.com/repos/tebanhdez/refiere.co/subscription","commits_url":"https://api.github.com/repos/tebanhdez/refiere.co/commits{/sha}","git_commits_url":"https://api.github.com/repos/tebanhdez/refiere.co/git/commits{/sha}","comments_url":"https://api.github.com/repos/tebanhdez/refiere.co/comments{/number}","issue_comment_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues/comments{/number}","contents_url":"https://api.github.com/repos/tebanhdez/refiere.co/contents/{+path}","compare_url":"https://api.github.com/repos/tebanhdez/refiere.co/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tebanhdez/refiere.co/merges","archive_url":"https://api.github.com/repos/tebanhdez/refiere.co/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tebanhdez/refiere.co/downloads","issues_url":"https://api.github.com/repos/tebanhdez/refiere.co/issues{/number}","pulls_url":"https://api.github.com/repos/tebanhdez/refiere.co/pulls{/number}","milestones_url":"https://api.github.com/repos/tebanhdez/refiere.co/milestones{/number}","notifications_url":"https://api.github.com/repos/tebanhdez/refiere.co/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tebanhdez/refiere.co/labels{/name}","releases_url":"https://api.github.com/repos/tebanhdez/refiere.co/releases{/id}","deployments_url":"https://api.github.com/repos/tebanhdez/refiere.co/deployments","created_at":"2016-04-13T21:17:05Z","updated_at":"2016-04-27T20:02:09Z","pushed_at":"2016-05-24T22:00:29Z","git_url":"git://github.com/tebanhdez/refiere.co.git","ssh_url":"git@github.com:tebanhdez/refiere.co.git","clone_url":"https://github.com/tebanhdez/refiere.co.git","svn_url":"https://github.com/tebanhdez/refiere.co","homepage":null,"size":2924,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13"},"html":{"href":"https://github.com/tebanhdez/refiere.co/pull/13"},"issue":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/issues/13"},"comments":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/tebanhdez/refiere.co/statuses/24f3a4c3225ba2c5bac28d4c77d7517d024e8b1a"}}}}
{"actor":{"display_login":"tebanhdez"}}