{"action":"created","comment":{"url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/comments/230507131","pull_request_review_id":171269831,"id":230507131,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDUwNzEzMQ==","diff_hunk":"@@ -0,0 +1,23 @@\n+/*\n+ * Copyright (c) 2018. \n+ * Travel With\n+ * Marcin Witek\n+ */\n+\n+package com.travelwith.servertravelwith.security;\n+\n+import org.springframework.context.annotation.Configuration;\n+import org.springframework.security.config.annotation.web.builders.HttpSecurity;\n+import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter;\n+\n+@Configuration\n+public class SecurityConfiguration extends WebSecurityConfigurerAdapter {\n+\n+\n+    @Override\n+    protected void configure(HttpSecurity http) throws Exception {\n+        http.authorizeRequests()\n+                .antMatchers(\"/users/**\").permitAll();\n+        http.csrf().disable();","path":"src/main/java/com/travelwith/servertravelwith/security/SecurityConfiguration.java","position":21,"original_position":21,"commit_id":"fb86f9859fc6036a0063f583ebe6f169c9e3dbfb","original_commit_id":"8559693359fcb64c1a956ac13be0394066f05a9f","user":{"login":"Radioaktywny","id":11633702,"node_id":"MDQ6VXNlcjExNjMzNzAy","avatar_url":"https://avatars0.githubusercontent.com/u/11633702?v=4","gravatar_id":"","url":"https://api.github.com/users/Radioaktywny","html_url":"https://github.com/Radioaktywny","followers_url":"https://api.github.com/users/Radioaktywny/followers","following_url":"https://api.github.com/users/Radioaktywny/following{/other_user}","gists_url":"https://api.github.com/users/Radioaktywny/gists{/gist_id}","starred_url":"https://api.github.com/users/Radioaktywny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Radioaktywny/subscriptions","organizations_url":"https://api.github.com/users/Radioaktywny/orgs","repos_url":"https://api.github.com/users/Radioaktywny/repos","events_url":"https://api.github.com/users/Radioaktywny/events{/privacy}","received_events_url":"https://api.github.com/users/Radioaktywny/received_events","type":"User","site_admin":false},"body":"na razie chcialem to wylaczyc zeby sobie nie zaprzatac glowy z security. Jak zaimple,emtuje logowanie to wlacze xd","created_at":"2018-11-02T21:00:14Z","updated_at":"2018-11-02T21:00:14Z","html_url":"https://github.com/Radioaktywny/servertravelwith/pull/1#discussion_r230507131","pull_request_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/comments/230507131"},"html":{"href":"https://github.com/Radioaktywny/servertravelwith/pull/1#discussion_r230507131"},"pull_request":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1"}},"in_reply_to_id":230436176},"pull_request":{"url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1","id":226307971,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI2MzA3OTcx","html_url":"https://github.com/Radioaktywny/servertravelwith/pull/1","diff_url":"https://github.com/Radioaktywny/servertravelwith/pull/1.diff","patch_url":"https://github.com/Radioaktywny/servertravelwith/pull/1.patch","issue_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/1","number":1,"state":"closed","locked":false,"title":"add REST mapping for checking user fields, and for registration","user":{"login":"Radioaktywny","id":11633702,"node_id":"MDQ6VXNlcjExNjMzNzAy","avatar_url":"https://avatars0.githubusercontent.com/u/11633702?v=4","gravatar_id":"","url":"https://api.github.com/users/Radioaktywny","html_url":"https://github.com/Radioaktywny","followers_url":"https://api.github.com/users/Radioaktywny/followers","following_url":"https://api.github.com/users/Radioaktywny/following{/other_user}","gists_url":"https://api.github.com/users/Radioaktywny/gists{/gist_id}","starred_url":"https://api.github.com/users/Radioaktywny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Radioaktywny/subscriptions","organizations_url":"https://api.github.com/users/Radioaktywny/orgs","repos_url":"https://api.github.com/users/Radioaktywny/repos","events_url":"https://api.github.com/users/Radioaktywny/events{/privacy}","received_events_url":"https://api.github.com/users/Radioaktywny/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-27T16:57:38Z","updated_at":"2018-11-02T21:00:14Z","closed_at":"2018-11-02T20:56:53Z","merged_at":"2018-11-02T20:56:53Z","merge_commit_sha":"643c42d42c0852fd8c9321535733bff146dbe5eb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/1/comments","statuses_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/statuses/fb86f9859fc6036a0063f583ebe6f169c9e3dbfb","head":{"label":"Radioaktywny:marcin-dev","ref":"marcin-dev","sha":"fb86f9859fc6036a0063f583ebe6f169c9e3dbfb","user":{"login":"Radioaktywny","id":11633702,"node_id":"MDQ6VXNlcjExNjMzNzAy","avatar_url":"https://avatars0.githubusercontent.com/u/11633702?v=4","gravatar_id":"","url":"https://api.github.com/users/Radioaktywny","html_url":"https://github.com/Radioaktywny","followers_url":"https://api.github.com/users/Radioaktywny/followers","following_url":"https://api.github.com/users/Radioaktywny/following{/other_user}","gists_url":"https://api.github.com/users/Radioaktywny/gists{/gist_id}","starred_url":"https://api.github.com/users/Radioaktywny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Radioaktywny/subscriptions","organizations_url":"https://api.github.com/users/Radioaktywny/orgs","repos_url":"https://api.github.com/users/Radioaktywny/repos","events_url":"https://api.github.com/users/Radioaktywny/events{/privacy}","received_events_url":"https://api.github.com/users/Radioaktywny/received_events","type":"User","site_admin":false},"repo":{"id":154957583,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ5NTc1ODM=","name":"servertravelwith","full_name":"Radioaktywny/servertravelwith","private":false,"owner":{"login":"Radioaktywny","id":11633702,"node_id":"MDQ6VXNlcjExNjMzNzAy","avatar_url":"https://avatars0.githubusercontent.com/u/11633702?v=4","gravatar_id":"","url":"https://api.github.com/users/Radioaktywny","html_url":"https://github.com/Radioaktywny","followers_url":"https://api.github.com/users/Radioaktywny/followers","following_url":"https://api.github.com/users/Radioaktywny/following{/other_user}","gists_url":"https://api.github.com/users/Radioaktywny/gists{/gist_id}","starred_url":"https://api.github.com/users/Radioaktywny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Radioaktywny/subscriptions","organizations_url":"https://api.github.com/users/Radioaktywny/orgs","repos_url":"https://api.github.com/users/Radioaktywny/repos","events_url":"https://api.github.com/users/Radioaktywny/events{/privacy}","received_events_url":"https://api.github.com/users/Radioaktywny/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Radioaktywny/servertravelwith","description":null,"fork":false,"url":"https://api.github.com/repos/Radioaktywny/servertravelwith","forks_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/forks","keys_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/teams","hooks_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/hooks","issue_events_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/events{/number}","events_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/events","assignees_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/assignees{/user}","branches_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/branches{/branch}","tags_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/tags","blobs_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/refs{/sha}","trees_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/statuses/{sha}","languages_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/languages","stargazers_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/stargazers","contributors_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/contributors","subscribers_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/subscribers","subscription_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/subscription","commits_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/commits{/sha}","git_commits_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/commits{/sha}","comments_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/comments{/number}","issue_comment_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/comments{/number}","contents_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/contents/{+path}","compare_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/merges","archive_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/downloads","issues_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues{/number}","pulls_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls{/number}","milestones_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/milestones{/number}","notifications_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/labels{/name}","releases_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/releases{/id}","deployments_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/deployments","created_at":"2018-10-27T11:33:23Z","updated_at":"2018-11-02T20:56:55Z","pushed_at":"2018-11-02T20:56:53Z","git_url":"git://github.com/Radioaktywny/servertravelwith.git","ssh_url":"git@github.com:Radioaktywny/servertravelwith.git","clone_url":"https://github.com/Radioaktywny/servertravelwith.git","svn_url":"https://github.com/Radioaktywny/servertravelwith","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Radioaktywny:master","ref":"master","sha":"b1c7f14f86adc67b1c568c0e2c03ad10c0e1acb8","user":{"login":"Radioaktywny","id":11633702,"node_id":"MDQ6VXNlcjExNjMzNzAy","avatar_url":"https://avatars0.githubusercontent.com/u/11633702?v=4","gravatar_id":"","url":"https://api.github.com/users/Radioaktywny","html_url":"https://github.com/Radioaktywny","followers_url":"https://api.github.com/users/Radioaktywny/followers","following_url":"https://api.github.com/users/Radioaktywny/following{/other_user}","gists_url":"https://api.github.com/users/Radioaktywny/gists{/gist_id}","starred_url":"https://api.github.com/users/Radioaktywny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Radioaktywny/subscriptions","organizations_url":"https://api.github.com/users/Radioaktywny/orgs","repos_url":"https://api.github.com/users/Radioaktywny/repos","events_url":"https://api.github.com/users/Radioaktywny/events{/privacy}","received_events_url":"https://api.github.com/users/Radioaktywny/received_events","type":"User","site_admin":false},"repo":{"id":154957583,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ5NTc1ODM=","name":"servertravelwith","full_name":"Radioaktywny/servertravelwith","private":false,"owner":{"login":"Radioaktywny","id":11633702,"node_id":"MDQ6VXNlcjExNjMzNzAy","avatar_url":"https://avatars0.githubusercontent.com/u/11633702?v=4","gravatar_id":"","url":"https://api.github.com/users/Radioaktywny","html_url":"https://github.com/Radioaktywny","followers_url":"https://api.github.com/users/Radioaktywny/followers","following_url":"https://api.github.com/users/Radioaktywny/following{/other_user}","gists_url":"https://api.github.com/users/Radioaktywny/gists{/gist_id}","starred_url":"https://api.github.com/users/Radioaktywny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Radioaktywny/subscriptions","organizations_url":"https://api.github.com/users/Radioaktywny/orgs","repos_url":"https://api.github.com/users/Radioaktywny/repos","events_url":"https://api.github.com/users/Radioaktywny/events{/privacy}","received_events_url":"https://api.github.com/users/Radioaktywny/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Radioaktywny/servertravelwith","description":null,"fork":false,"url":"https://api.github.com/repos/Radioaktywny/servertravelwith","forks_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/forks","keys_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/teams","hooks_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/hooks","issue_events_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/events{/number}","events_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/events","assignees_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/assignees{/user}","branches_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/branches{/branch}","tags_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/tags","blobs_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/refs{/sha}","trees_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/statuses/{sha}","languages_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/languages","stargazers_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/stargazers","contributors_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/contributors","subscribers_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/subscribers","subscription_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/subscription","commits_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/commits{/sha}","git_commits_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/git/commits{/sha}","comments_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/comments{/number}","issue_comment_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/comments{/number}","contents_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/contents/{+path}","compare_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/merges","archive_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/downloads","issues_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues{/number}","pulls_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls{/number}","milestones_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/milestones{/number}","notifications_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/labels{/name}","releases_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/releases{/id}","deployments_url":"https://api.github.com/repos/Radioaktywny/servertravelwith/deployments","created_at":"2018-10-27T11:33:23Z","updated_at":"2018-11-02T20:56:55Z","pushed_at":"2018-11-02T20:56:53Z","git_url":"git://github.com/Radioaktywny/servertravelwith.git","ssh_url":"git@github.com:Radioaktywny/servertravelwith.git","clone_url":"https://github.com/Radioaktywny/servertravelwith.git","svn_url":"https://github.com/Radioaktywny/servertravelwith","homepage":null,"size":66,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1"},"html":{"href":"https://github.com/Radioaktywny/servertravelwith/pull/1"},"issue":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/1"},"comments":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Radioaktywny/servertravelwith/statuses/fb86f9859fc6036a0063f583ebe6f169c9e3dbfb"}},"author_association":"OWNER"}}
{"actor":{"display_login":"Radioaktywny"}}