{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/66279305","id":66279305,"diff_hunk":"@@ -240,4 +312,44 @@ public boolean ping() {\n                 .collect(Collectors.toList());\n     }\n \n+    private boolean tokenAboutToExpire(Subject subject) {","path":"catalog/spatial/csw/spatial-csw-endpoint/src/main/java/org/codice/ddf/spatial/ogc/csw/catalog/endpoint/event/SendEvent.java","position":207,"original_position":215,"commit_id":"7d49ba5d9fe2a13471d04956f753a7617ba8b4b6","original_commit_id":"f1514ce3bff8c42a55dadb78217da2754acef289","user":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"body":"moved some of the logic to Security","created_at":"2016-06-08T15:33:50Z","updated_at":"2016-06-08T15:33:50Z","html_url":"https://github.com/codice/ddf/pull/807#discussion_r66279305","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/807","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/66279305"},"html":{"href":"https://github.com/codice/ddf/pull/807#discussion_r66279305"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/807"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/807","id":71149889,"html_url":"https://github.com/codice/ddf/pull/807","diff_url":"https://github.com/codice/ddf/pull/807.diff","patch_url":"https://github.com/codice/ddf/pull/807.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/807","number":807,"state":"open","locked":false,"title":"DDF-2140 Check if response handler is active before evaluating if an event should be sent","user":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nupdates the OutgoingSubjectRetrievalInterceptor to support the jax-ws handler interface, move the CSW ping logic into the event processor so that all subscriptions are checked to see if they are active before an event is processed. Adds logic to obtain a guest subject to the Security utility class.\r\n#### Who is reviewing it (please choose AT LEAST two reviewers that need to approve the PR before it can get merged; if a component team is listed, at least one of its members needs to approve)?\r\n#### Choose 2 committers to review/merge the PR (please choose ONLY two committers from below, delete the rest).\r\n@pklinef subbing in @lessarderic \r\n@stustison \r\n@jckilmer @coyotesqrl @tbatie @roelens8 @bcwaters \r\n#### How should this be tested?\r\nrun itests\r\n#### Any background context you want to provide?\r\nThis is just cleaning up logic driven by other security related tickets.\r\n#### What are the relevant tickets?\r\n#### Screenshots (if appropriate)\r\n#### Checklist:\r\n- [ ] Documentation Updated\r\n- [ ] Update / Add Unit Tests\r\n- [ ] Update / Add Integration Tests\r\n","created_at":"2016-05-24T02:37:40Z","updated_at":"2016-06-08T15:33:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e4fadf1ef67629978c54d0506186c273d7f19e7","assignee":{"login":"pklinef","id":700518,"avatar_url":"https://avatars.githubusercontent.com/u/700518?v=3","gravatar_id":"","url":"https://api.github.com/users/pklinef","html_url":"https://github.com/pklinef","followers_url":"https://api.github.com/users/pklinef/followers","following_url":"https://api.github.com/users/pklinef/following{/other_user}","gists_url":"https://api.github.com/users/pklinef/gists{/gist_id}","starred_url":"https://api.github.com/users/pklinef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pklinef/subscriptions","organizations_url":"https://api.github.com/users/pklinef/orgs","repos_url":"https://api.github.com/users/pklinef/repos","events_url":"https://api.github.com/users/pklinef/events{/privacy}","received_events_url":"https://api.github.com/users/pklinef/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/807/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/807/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/807/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/7d49ba5d9fe2a13471d04956f753a7617ba8b4b6","head":{"label":"ryeats:DDF-2140","ref":"DDF-2140","sha":"7d49ba5d9fe2a13471d04956f753a7617ba8b4b6","user":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"repo":{"id":43379984,"name":"ddf","full_name":"ryeats/ddf","owner":{"login":"ryeats","id":14876988,"avatar_url":"https://avatars.githubusercontent.com/u/14876988?v=3","gravatar_id":"","url":"https://api.github.com/users/ryeats","html_url":"https://github.com/ryeats","followers_url":"https://api.github.com/users/ryeats/followers","following_url":"https://api.github.com/users/ryeats/following{/other_user}","gists_url":"https://api.github.com/users/ryeats/gists{/gist_id}","starred_url":"https://api.github.com/users/ryeats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryeats/subscriptions","organizations_url":"https://api.github.com/users/ryeats/orgs","repos_url":"https://api.github.com/users/ryeats/repos","events_url":"https://api.github.com/users/ryeats/events{/privacy}","received_events_url":"https://api.github.com/users/ryeats/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryeats/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/ryeats/ddf","forks_url":"https://api.github.com/repos/ryeats/ddf/forks","keys_url":"https://api.github.com/repos/ryeats/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryeats/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryeats/ddf/teams","hooks_url":"https://api.github.com/repos/ryeats/ddf/hooks","issue_events_url":"https://api.github.com/repos/ryeats/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/ryeats/ddf/events","assignees_url":"https://api.github.com/repos/ryeats/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/ryeats/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/ryeats/ddf/tags","blobs_url":"https://api.github.com/repos/ryeats/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryeats/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryeats/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryeats/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryeats/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/ryeats/ddf/languages","stargazers_url":"https://api.github.com/repos/ryeats/ddf/stargazers","contributors_url":"https://api.github.com/repos/ryeats/ddf/contributors","subscribers_url":"https://api.github.com/repos/ryeats/ddf/subscribers","subscription_url":"https://api.github.com/repos/ryeats/ddf/subscription","commits_url":"https://api.github.com/repos/ryeats/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryeats/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryeats/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryeats/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryeats/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/ryeats/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryeats/ddf/merges","archive_url":"https://api.github.com/repos/ryeats/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryeats/ddf/downloads","issues_url":"https://api.github.com/repos/ryeats/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/ryeats/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/ryeats/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/ryeats/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryeats/ddf/labels{/name}","releases_url":"https://api.github.com/repos/ryeats/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/ryeats/ddf/deployments","created_at":"2015-09-29T16:34:25Z","updated_at":"2015-09-29T16:34:41Z","pushed_at":"2016-06-08T15:06:50Z","git_url":"git://github.com/ryeats/ddf.git","ssh_url":"git@github.com:ryeats/ddf.git","clone_url":"https://github.com/ryeats/ddf.git","svn_url":"https://github.com/ryeats/ddf","homepage":"","size":145358,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"codice:master","ref":"master","sha":"d229d54f51ec34e17aca77dcc846719219b9cdc2","user":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"repo":{"id":15173563,"name":"ddf","full_name":"codice/ddf","owner":{"login":"codice","id":2386734,"avatar_url":"https://avatars.githubusercontent.com/u/2386734?v=3","gravatar_id":"","url":"https://api.github.com/users/codice","html_url":"https://github.com/codice","followers_url":"https://api.github.com/users/codice/followers","following_url":"https://api.github.com/users/codice/following{/other_user}","gists_url":"https://api.github.com/users/codice/gists{/gist_id}","starred_url":"https://api.github.com/users/codice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice/subscriptions","organizations_url":"https://api.github.com/users/codice/orgs","repos_url":"https://api.github.com/users/codice/repos","events_url":"https://api.github.com/users/codice/events{/privacy}","received_events_url":"https://api.github.com/users/codice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codice/ddf","description":"Distributed Data Framework - an open source, modular integration framework.","fork":false,"url":"https://api.github.com/repos/codice/ddf","forks_url":"https://api.github.com/repos/codice/ddf/forks","keys_url":"https://api.github.com/repos/codice/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codice/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codice/ddf/teams","hooks_url":"https://api.github.com/repos/codice/ddf/hooks","issue_events_url":"https://api.github.com/repos/codice/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/codice/ddf/events","assignees_url":"https://api.github.com/repos/codice/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/codice/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/codice/ddf/tags","blobs_url":"https://api.github.com/repos/codice/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codice/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codice/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/codice/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/codice/ddf/languages","stargazers_url":"https://api.github.com/repos/codice/ddf/stargazers","contributors_url":"https://api.github.com/repos/codice/ddf/contributors","subscribers_url":"https://api.github.com/repos/codice/ddf/subscribers","subscription_url":"https://api.github.com/repos/codice/ddf/subscription","commits_url":"https://api.github.com/repos/codice/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/codice/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/codice/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/codice/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/codice/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/codice/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codice/ddf/merges","archive_url":"https://api.github.com/repos/codice/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codice/ddf/downloads","issues_url":"https://api.github.com/repos/codice/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/codice/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/codice/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/codice/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codice/ddf/labels{/name}","releases_url":"https://api.github.com/repos/codice/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/codice/ddf/deployments","created_at":"2013-12-13T20:38:28Z","updated_at":"2016-06-01T06:07:12Z","pushed_at":"2016-06-08T15:06:50Z","git_url":"git://github.com/codice/ddf.git","ssh_url":"git@github.com:codice/ddf.git","clone_url":"https://github.com/codice/ddf.git","svn_url":"https://github.com/codice/ddf","homepage":"http://ddf.codice.org","size":164792,"stargazers_count":37,"watchers_count":37,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":80,"mirror_url":null,"open_issues_count":27,"forks":80,"open_issues":27,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/807"},"html":{"href":"https://github.com/codice/ddf/pull/807"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/807"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/807/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/807/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/807/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/7d49ba5d9fe2a13471d04956f753a7617ba8b4b6"}}}}
{"actor":{"display_login":"ryeats"}}