payload: {"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/355005139","pull_request_review_id":327768687,"id":355005139,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM1NTAwNTEzOQ==","diff_hunk":"@@ -0,0 +1,168 @@\n+/**\n+ * Copyright (c) Codice Foundation\n+ *\n+ * <p>This is free software: you can redistribute it and/or modify it under the terms of the GNU\n+ * Lesser General Public License as published by the Free Software Foundation, either version 3 of\n+ * the License, or any later version.\n+ *\n+ * <p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;\n+ * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n+ * GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public\n+ * License is distributed along with this program and can be found at\n+ * <http://www.gnu.org/licenses/lgpl.html>.\n+ */\n+package org.codice.ddf.security.pki.realm;\n+\n+import ddf.security.SubjectUtils;\n+import ddf.security.assertion.Attribute;\n+import ddf.security.assertion.AttributeStatement;\n+import ddf.security.assertion.SecurityAssertion;\n+import ddf.security.assertion.impl.AttributeDefault;\n+import ddf.security.assertion.impl.AttributeStatementDefault;\n+import ddf.security.assertion.impl.DefaultSecurityAssertionBuilder;\n+import ddf.security.claims.Claim;\n+import ddf.security.claims.ClaimsCollection;\n+import ddf.security.claims.ClaimsHandler;\n+import ddf.security.claims.impl.ClaimsParametersImpl;\n+import java.security.cert.X509Certificate;\n+import java.time.Duration;\n+import java.time.Instant;\n+import java.util.ArrayList;\n+import java.util.Collections;\n+import java.util.Date;\n+import java.util.HashMap;\n+import java.util.List;\n+import javax.security.auth.x500.X500Principal;\n+import org.apache.shiro.authc.AuthenticationException;\n+import org.apache.shiro.authc.AuthenticationInfo;\n+import org.apache.shiro.authc.AuthenticationToken;\n+import org.apache.shiro.authc.SimpleAuthenticationInfo;\n+import org.apache.shiro.realm.AuthenticatingRealm;\n+import org.apache.shiro.subject.SimplePrincipalCollection;\n+import org.codice.ddf.security.handler.api.AuthenticationTokenType;\n+import org.codice.ddf.security.handler.api.BaseAuthenticationToken;\n+import org.slf4j.Logger;\n+import org.slf4j.LoggerFactory;\n+\n+public class PKIRealm extends AuthenticatingRealm {\n+\n+  private static final Logger LOGGER = LoggerFactory.getLogger(PKIRealm.class);\n+\n+  private List<ClaimsHandler> claimsHandlers = new ArrayList<>();\n+\n+  private Duration fourHours = Duration.ofHours(4);","path":"platform/security/realm/security-realm-pki/src/main/java/org/codice/ddf/security/pki/realm/PKIRealm.java","position":53,"original_position":53,"commit_id":"21403a508ef81230d67e3b6809a1bc8fe2438ad7","original_commit_id":"21403a508ef81230d67e3b6809a1bc8fe2438ad7","user":{"login":"shaundmorris","id":4359166,"node_id":"MDQ6VXNlcjQzNTkxNjY=","avatar_url":"https://avatars3.githubusercontent.com/u/4359166?v=4","gravatar_id":"","url":"https://api.github.com/users/shaundmorris","html_url":"https://github.com/shaundmorris","followers_url":"https://api.github.com/users/shaundmorris/followers","following_url":"https://api.github.com/users/shaundmorris/following{/other_user}","gists_url":"https://api.github.com/users/shaundmorris/gists{/gist_id}","starred_url":"https://api.github.com/users/shaundmorris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shaundmorris/subscriptions","organizations_url":"https://api.github.com/users/shaundmorris/orgs","repos_url":"https://api.github.com/users/shaundmorris/repos","events_url":"https://api.github.com/users/shaundmorris/events{/privacy}","received_events_url":"https://api.github.com/users/shaundmorris/received_events","type":"User","site_admin":false},"body":"❔ How is the default duration of 4 hours determined? Not sure if it is worth a comment. ","created_at":"2019-12-06T19:55:21Z","updated_at":"2019-12-06T19:59:09Z","html_url":"https://github.com/codice/ddf/pull/5633#discussion_r355005139","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/5633","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/355005139"},"html":{"href":"https://github.com/codice/ddf/pull/5633#discussion_r355005139"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/5633"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/5633","id":345832327,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQ1ODMyMzI3","html_url":"https://github.com/codice/ddf/pull/5633","diff_url":"https://github.com/codice/ddf/pull/5633.diff","patch_url":"https://github.com/codice/ddf/pull/5633.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/5633","number":5633,"state":"open","locked":false,"title":"DDF-5528 removed STS and IdP documentation and fixed features","user":{"login":"stustison","id":4391679,"node_id":"MDQ6VXNlcjQzOTE2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/4391679?v=4","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"body":"#### What does this PR do?\r\nUpdates the documentation for the STS and IdP removal. Renames remaining modules and deletes the actual code.\r\n\r\n#### Who is reviewing it?\r\n@bakejeyner @SmithJosh\r\n\r\n#### Select relevant component teams:\r\n@codice/security\r\n\r\n#### Ask 2 committers to review/merge the PR and tag them here.\r\n@blen-desta\r\n@coyotesqrl\r\n@garrettfreibott\r\n@Lambeaux\r\n@pklinef\r\n@stustison\r\n\r\n#### How should this be tested?\r\n<!--(List steps with links to updated documentation)-->\r\n\r\n#### Any background context you want to provide?\r\n\r\n#### What are the relevant tickets?\r\nFixes: #____\r\n\r\n#### Screenshots\r\n<!--(if appropriate)-->\r\n\r\n#### Checklist:\r\n- [x] Documentation Updated\r\n- [ ] Update / Add Threat Dragon models\r\n- [x] Update / Add Unit Tests\r\n- [x] Update / Add Integration Tests\r\n\r\n#### Notes on Review Process\r\nPlease see [Notes on Review Process](https://codice.atlassian.net/wiki/spaces/DDF/pages/71946981/Pull+Request+Guidelines) for further guidance on requirements for merging and abbreviated reviews. \r\n\r\n#### Review Comment Legend:\r\n- ✏️ (Pencil) This comment is a nitpick or style suggestion, no action required for approval. This comment should provide a suggestion either as an in line code snippet or a gist. \r\n- ❓ (Question Mark) This comment is to gain a clearer understanding of design or code choices, clarification is required but action may not be necessary for approval.\r\n- ❗ (Exclamation Mark) This comment is critical and requires clarification or action before approval.\r\n","created_at":"2019-11-26T16:43:32Z","updated_at":"2019-12-06T19:59:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e20cdcc4f6444640fdbace9f4620cd61a56bf900","assignee":null,"assignees":[],"requested_reviewers":[{"login":"bdeining","id":6551038,"node_id":"MDQ6VXNlcjY1NTEwMzg=","avatar_url":"https://avatars2.githubusercontent.com/u/6551038?v=4","gravatar_id":"","url":"https://api.github.com/users/bdeining","html_url":"https://github.com/bdeining","followers_url":"https://api.github.com/users/bdeining/followers","following_url":"https://api.github.com/users/bdeining/following{/other_user}","gists_url":"https://api.github.com/users/bdeining/gists{/gist_id}","starred_url":"https://api.github.com/users/bdeining/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdeining/subscriptions","organizations_url":"https://api.github.com/users/bdeining/orgs","repos_url":"https://api.github.com/users/bdeining/repos","events_url":"https://api.github.com/users/bdeining/events{/privacy}","received_events_url":"https://api.github.com/users/bdeining/received_events","type":"User","site_admin":false},{"login":"andrewkfiedler","id":11984853,"node_id":"MDQ6VXNlcjExOTg0ODUz","avatar_url":"https://avatars3.githubusercontent.com/u/11984853?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewkfiedler","html_url":"https://github.com/andrewkfiedler","followers_url":"https://api.github.com/users/andrewkfiedler/followers","following_url":"https://api.github.com/users/andrewkfiedler/following{/other_user}","gists_url":"https://api.github.com/users/andrewkfiedler/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewkfiedler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewkfiedler/subscriptions","organizations_url":"https://api.github.com/users/andrewkfiedler/orgs","repos_url":"https://api.github.com/users/andrewkfiedler/repos","events_url":"https://api.github.com/users/andrewkfiedler/events{/privacy}","received_events_url":"https://api.github.com/users/andrewkfiedler/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/5633/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/5633/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/5633/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/21403a508ef81230d67e3b6809a1bc8fe2438ad7","head":{"label":"stustison:stsremovedocs","ref":"stsremovedocs","sha":"21403a508ef81230d67e3b6809a1bc8fe2438ad7","user":{"login":"stustison","id":4391679,"node_id":"MDQ6VXNlcjQzOTE2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/4391679?v=4","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"repo":{"id":34327919,"node_id":"MDEwOlJlcG9zaXRvcnkzNDMyNzkxOQ==","name":"ddf","full_name":"stustison/ddf","private":false,"owner":{"login":"stustison","id":4391679,"node_id":"MDQ6VXNlcjQzOTE2Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/4391679?v=4","gravatar_id":"","url":"https://api.github.com/users/stustison","html_url":"https://github.com/stustison","followers_url":"https://api.github.com/users/stustison/followers","following_url":"https://api.github.com/users/stustison/following{/other_user}","gists_url":"https://api.github.com/users/stustison/gists{/gist_id}","starred_url":"https://api.github.com/users/stustison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stustison/subscriptions","organizations_url":"https://api.github.com/users/stustison/orgs","repos_url":"https://api.github.com/users/stustison/repos","events_url":"https://api.github.com/users/stustison/events{/privacy}","received_events_url":"https://api.github.com/users/stustison/received_events","type":"User","site_admin":false},"html_url":"https://github.com/stustison/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/stustison/ddf","forks_url":"https://api.github.com/repos/stustison/ddf/forks","keys_url":"https://api.github.com/repos/stustison/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stustison/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stustison/ddf/teams","hooks_url":"https://api.github.com/repos/stustison/ddf/hooks","issue_events_url":"https://api.github.com/repos/stustison/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/stustison/ddf/events","assignees_url":"https://api.github.com/repos/stustison/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/stustison/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/stustison/ddf/tags","blobs_url":"https://api.github.com/repos/stustison/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stustison/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stustison/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/stustison/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stustison/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/stustison/ddf/languages","stargazers_url":"https://api.github.com/repos/stustison/ddf/stargazers","contributors_url":"https://api.github.com/repos/stustison/ddf/contributors","subscribers_url":"https://api.github.com/repos/stustison/ddf/subscribers","subscription_url":"https://api.github.com/repos/stustison/ddf/subscription","commits_url":"https://api.github.com/repos/stustison/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/stustison/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/stustison/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/stustison/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/stustison/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/stustison/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stustison/ddf/merges","archive_url":"https://api.github.com/repos/stustison/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stustison/ddf/downloads","issues_url":"https://api.github.com/repos/stustison/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/stustison/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/stustison/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/stustison/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stustison/ddf/labels{/name}","releases_url":"https://api.github.com/repos/stustison/ddf/releases{/id}","deployments_url":"https://api.github.com/repos/stustison/ddf/deployments","created_at":"2015-04-21T13:14:31Z","updated_at":"2017-09-28T13:36:29Z","pushed_at":"2019-12-05T19:43:34Z","git_url":"git://github.com/stustison/ddf.git","ssh_url":"git@github.com:stustison/ddf.git","clone_url":"https://github.com/stustison/ddf.git","svn_url":"https://github.com/stustison/ddf","homepage":"","size":223279,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"codice:master","ref":"master","sha":"996c1bb5dd216877c166cc2061de07adb0fde23b","user":{"login":"codice","id":2386734,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODY3MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2386734?v=4","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,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3MzU2Mw==","name":"ddf","full_name":"codice/ddf","private":false,"owner":{"login":"codice","id":2386734,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzODY3MzQ=","avatar_url":"https://avatars2.githubusercontent.com/u/2386734?v=4","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},"html_url":"https://github.com/codice/ddf","description":"DDF 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":"2019-12-06T17:51:45Z","pushed_at":"2019-12-06T17:41:44Z","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":486922,"stargazers_count":102,"watchers_count":102,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":179,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":181,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":179,"open_issues":181,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/5633"},"html":{"href":"https://github.com/codice/ddf/pull/5633"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/5633"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/5633/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/5633/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/5633/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/21403a508ef81230d67e3b6809a1bc8fe2438ad7"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"shaundmorris"}}