{"action":"created","issue":{"url":"https://api.github.com/repos/OpenNMS/opennms/issues/1769","repository_url":"https://api.github.com/repos/OpenNMS/opennms","labels_url":"https://api.github.com/repos/OpenNMS/opennms/issues/1769/labels{/name}","comments_url":"https://api.github.com/repos/OpenNMS/opennms/issues/1769/comments","events_url":"https://api.github.com/repos/OpenNMS/opennms/issues/1769/events","html_url":"https://github.com/OpenNMS/opennms/pull/1769","id":276159974,"number":1769,"title":"NMS-9739: allow pre-authentication through HTTP headers","user":{"login":"RangerRick","id":89252,"avatar_url":"https://avatars3.githubusercontent.com/u/89252?v=4","gravatar_id":"","url":"https://api.github.com/users/RangerRick","html_url":"https://github.com/RangerRick","followers_url":"https://api.github.com/users/RangerRick/followers","following_url":"https://api.github.com/users/RangerRick/following{/other_user}","gists_url":"https://api.github.com/users/RangerRick/gists{/gist_id}","starred_url":"https://api.github.com/users/RangerRick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RangerRick/subscriptions","organizations_url":"https://api.github.com/users/RangerRick/orgs","repos_url":"https://api.github.com/users/RangerRick/repos","events_url":"https://api.github.com/users/RangerRick/events{/privacy}","received_events_url":"https://api.github.com/users/RangerRick/received_events","type":"User","site_admin":false},"labels":[{"id":365046558,"url":"https://api.github.com/repos/OpenNMS/opennms/labels/enhancement","name":"enhancement","color":"c2e0c6","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/OpenNMS/opennms/milestones/40","html_url":"https://github.com/OpenNMS/opennms/milestone/40","labels_url":"https://api.github.com/repos/OpenNMS/opennms/milestones/40/labels","id":2916933,"number":40,"title":"Meridian 2017.1.3","description":null,"creator":{"login":"j-white","id":1379749,"avatar_url":"https://avatars3.githubusercontent.com/u/1379749?v=4","gravatar_id":"","url":"https://api.github.com/users/j-white","html_url":"https://github.com/j-white","followers_url":"https://api.github.com/users/j-white/followers","following_url":"https://api.github.com/users/j-white/following{/other_user}","gists_url":"https://api.github.com/users/j-white/gists{/gist_id}","starred_url":"https://api.github.com/users/j-white/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-white/subscriptions","organizations_url":"https://api.github.com/users/j-white/orgs","repos_url":"https://api.github.com/users/j-white/repos","events_url":"https://api.github.com/users/j-white/events{/privacy}","received_events_url":"https://api.github.com/users/j-white/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2017-11-16T12:12:08Z","updated_at":"2017-11-22T18:03:23Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-11-22T18:03:23Z","updated_at":"2017-11-23T19:39:33Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/OpenNMS/opennms/pulls/1769","html_url":"https://github.com/OpenNMS/opennms/pull/1769","diff_url":"https://github.com/OpenNMS/opennms/pull/1769.diff","patch_url":"https://github.com/OpenNMS/opennms/pull/1769.patch"},"body":"This commit creates a new pre-authentication filter for servlets\r\n(RequestHeaderPreAuthenticationProcessingFilter) and configures it\r\nin applicationContext-spring-security.xml.\r\n\r\nIt also refactors the existing servlet attribute filter\r\n(RequestAttributePreAuthenticationProcessingFilter) to look more\r\nlike the new header-based filter.\r\n\r\nBoth now require a property \"enabled\" to be set to \"true\" or else\r\nthey will silently pass control to the next filter in the chain\r\nwithout authenticating.  This allows us to leave them always\r\nconfigured in the spring security .xml without having to make\r\nlarge/unusual config changes besides enabling the filter.\r\n\r\n* JIRA: http://issues.opennms.org/browse/NMS-9739\r\n\r\nOur [continuous integration system](http://bamboo.internal.opennms.com:8085) will test and verify your changes.\r\n"},"comment":{"url":"https://api.github.com/repos/OpenNMS/opennms/issues/comments/346688121","html_url":"https://github.com/OpenNMS/opennms/pull/1769#issuecomment-346688121","issue_url":"https://api.github.com/repos/OpenNMS/opennms/issues/1769","id":346688121,"user":{"login":"j-white","id":1379749,"avatar_url":"https://avatars3.githubusercontent.com/u/1379749?v=4","gravatar_id":"","url":"https://api.github.com/users/j-white","html_url":"https://github.com/j-white","followers_url":"https://api.github.com/users/j-white/followers","following_url":"https://api.github.com/users/j-white/following{/other_user}","gists_url":"https://api.github.com/users/j-white/gists{/gist_id}","starred_url":"https://api.github.com/users/j-white/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j-white/subscriptions","organizations_url":"https://api.github.com/users/j-white/orgs","repos_url":"https://api.github.com/users/j-white/repos","events_url":"https://api.github.com/users/j-white/events{/privacy}","received_events_url":"https://api.github.com/users/j-white/received_events","type":"User","site_admin":false},"created_at":"2017-11-23T19:39:33Z","updated_at":"2017-11-23T19:39:33Z","author_association":"CONTRIBUTOR","body":"Works as expected.\r\n\r\nIs it worth adding a section to the docs for this? I don't think we have much of anything in terms of authentication yet though.\r\n"}}
{"actor":{"display_login":"j-white"}}