{"action":"created","issue":{"url":"https://api.github.com/repos/codice/ddf/issues/2125","repository_url":"https://api.github.com/repos/codice/ddf","labels_url":"https://api.github.com/repos/codice/ddf/issues/2125/labels{/name}","comments_url":"https://api.github.com/repos/codice/ddf/issues/2125/comments","events_url":"https://api.github.com/repos/codice/ddf/issues/2125/events","html_url":"https://github.com/codice/ddf/pull/2125","id":241321728,"number":2125,"title":"DDF-3138 Create a service to see user session information.","user":{"login":"pklinef","id":700518,"avatar_url":"https://avatars2.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},"labels":[],"state":"open","locked":false,"assignee":{"login":"coyotesqrl","id":1469860,"avatar_url":"https://avatars1.githubusercontent.com/u/1469860?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotesqrl","html_url":"https://github.com/coyotesqrl","followers_url":"https://api.github.com/users/coyotesqrl/followers","following_url":"https://api.github.com/users/coyotesqrl/following{/other_user}","gists_url":"https://api.github.com/users/coyotesqrl/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotesqrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotesqrl/subscriptions","organizations_url":"https://api.github.com/users/coyotesqrl/orgs","repos_url":"https://api.github.com/users/coyotesqrl/repos","events_url":"https://api.github.com/users/coyotesqrl/events{/privacy}","received_events_url":"https://api.github.com/users/coyotesqrl/received_events","type":"User","site_admin":false},"assignees":[{"login":"coyotesqrl","id":1469860,"avatar_url":"https://avatars1.githubusercontent.com/u/1469860?v=3","gravatar_id":"","url":"https://api.github.com/users/coyotesqrl","html_url":"https://github.com/coyotesqrl","followers_url":"https://api.github.com/users/coyotesqrl/followers","following_url":"https://api.github.com/users/coyotesqrl/following{/other_user}","gists_url":"https://api.github.com/users/coyotesqrl/gists{/gist_id}","starred_url":"https://api.github.com/users/coyotesqrl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coyotesqrl/subscriptions","organizations_url":"https://api.github.com/users/coyotesqrl/orgs","repos_url":"https://api.github.com/users/coyotesqrl/repos","events_url":"https://api.github.com/users/coyotesqrl/events{/privacy}","received_events_url":"https://api.github.com/users/coyotesqrl/received_events","type":"User","site_admin":false},{"login":"stustison","id":4391679,"avatar_url":"https://avatars3.githubusercontent.com/u/4391679?v=3","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}],"milestone":{"url":"https://api.github.com/repos/codice/ddf/milestones/11","html_url":"https://github.com/codice/ddf/milestone/11","labels_url":"https://api.github.com/repos/codice/ddf/milestones/11/labels","id":2510848,"number":11,"title":"2.11.0","description":null,"creator":{"login":"pklinef","id":700518,"avatar_url":"https://avatars2.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},"open_issues":2,"closed_issues":2,"state":"open","created_at":"2017-05-09T18:08:13Z","updated_at":"2017-07-07T16:57:10Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2017-07-07T16:57:09Z","updated_at":"2017-07-12T17:04:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/2125","html_url":"https://github.com/codice/ddf/pull/2125","diff_url":"https://github.com/codice/ddf/pull/2125.diff","patch_url":"https://github.com/codice/ddf/pull/2125.patch"},"body":"#### What does this PR do?\r\nAdds `/whoami` context to be able to see information about subjects for all realms that are logged into the current session.\r\n\r\n#### Who is reviewing it? \r\n@tbatie \r\n@brjeter \r\n\r\n#### Select relevant component teams: \r\n@codice/security \r\n\r\n#### Choose 2 committers to review/merge the PR. \r\n@coyotesqrl\r\n@stustison\r\n\r\n#### How should this be tested? (List steps with links to updated documentation)\r\nGoto [https://localhost:8993/whoami](https://localhost:8993/whoami) and verify information matches details for currently logged in user.  Test with guest, local account, and LDAP user.\r\n\r\n#### Any background context you want to provide?\r\n\r\n#### What are the relevant tickets?\r\n[DDF-3138](https://codice.atlassian.net/browse/DDF-3138)\r\n\r\n#### Screenshots (if appropriate)\r\n```\r\n{\r\n  \"idp\": {\r\n    \"name\": \"tstark\",\r\n    \"displayName\": \"tstark\",\r\n    \"email\": \"tstark@example.com\",\r\n    \"notOnOrAfter\": \"2017-07-07T10:22:40.935Z\",\r\n    \"notBefore\": \"2017-07-07T09:52:40.935Z\",\r\n    \"expiresIn\": \"27 minutes 54 seconds\",\r\n    \"issuer\": \"localhost\",\r\n    \"isGuest\": false,\r\n    \"authnContextClasses\": [\r\n      \"urn:oasis:names:tc:SAML:2.0:ac:classes:PasswordProtectedTransport\"\r\n    ],\r\n    \"claims\": {\r\n      \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/role\": [\r\n        \"avengers\",\r\n        \"guest\",\r\n        \"system-admin\"\r\n      ],\r\n      \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier\": [\r\n        \"guest\",\r\n        \"tstark\"\r\n      ],\r\n      \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname\": [\r\n        \"Anthony Stark\"\r\n      ],\r\n      \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname\": [\r\n        \"tstark\"\r\n      ],\r\n      \"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress\": [\r\n        \"tstark@example.com\"\r\n      ]\r\n    }\r\n  }\r\n}\r\n```\r\n\r\n#### Checklist:\r\n- [ n/a ] Documentation Updated\r\n- [x] Update / Add Unit Tests\r\n- [ n/a ] Update / Add Integration Tests\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"},"comment":{"url":"https://api.github.com/repos/codice/ddf/issues/comments/314833657","html_url":"https://github.com/codice/ddf/pull/2125#issuecomment-314833657","issue_url":"https://api.github.com/repos/codice/ddf/issues/2125","id":314833657,"user":{"login":"codice-bot","id":28742502,"avatar_url":"https://avatars2.githubusercontent.com/u/28742502?v=3","gravatar_id":"","url":"https://api.github.com/users/codice-bot","html_url":"https://github.com/codice-bot","followers_url":"https://api.github.com/users/codice-bot/followers","following_url":"https://api.github.com/users/codice-bot/following{/other_user}","gists_url":"https://api.github.com/users/codice-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codice-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codice-bot/subscriptions","organizations_url":"https://api.github.com/users/codice-bot/orgs","repos_url":"https://api.github.com/users/codice-bot/repos","events_url":"https://api.github.com/users/codice-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codice-bot/received_events","type":"User","site_admin":false},"created_at":"2017-07-12T17:04:28Z","updated_at":"2017-07-12T17:04:28Z","body":"SonarQube analysis reported 3 issues\n* ![MAJOR][MAJOR] 2 major\n* ![MINOR][MINOR] 1 minor\n\nWatch the comments in this conversation to review them.\n\n[MAJOR]: https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR'\n[MINOR]: https://sonarsource.github.io/sonar-github/severity-minor.png 'Severity: MINOR'"}}
{"actor":{"display_login":"codice-bot"}}