{"action":"created","comment":{"url":"https://api.github.com/repos/codice/ddf/pulls/comments/41291054","id":41291054,"diff_hunk":"@@ -46,9 +47,11 @@\n \n     private static final String WHITE_LIST = \"whiteListContexts\";\n \n-    private static final String DEFAULT_REALM = \"DDF\";\n+    public static final String DEFAULT_REALM = \"DDF\";\n \n-    private static final String DEFAULT_REALM_CONTEXTS = \"/=karaf\";\n+    public static final String DEFAULT_REALM_CONTEXT_VALUE = \"karaf\";\n+\n+    private static final String DEFAULT_REALM_CONTEXTS = \"/=\" + DEFAULT_REALM_CONTEXT_VALUE;\n \n     private Map<String, ContextPolicy> policyStore = new HashMap<>();","path":"platform/security/policy/security-policy-context/src/main/java/org/codice/ddf/security/policy/context/impl/PolicyManager.java","position":20,"original_position":20,"commit_id":"c3536e37343324f40bc9a721399448e403cc81e4","original_commit_id":"c3536e37343324f40bc9a721399448e403cc81e4","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":"Shouldn't this be a ConcurrentHashMap to make it thread safe? ","created_at":"2015-10-06T16:55:48Z","updated_at":"2015-10-06T16:55:48Z","html_url":"https://github.com/codice/ddf/pull/238#discussion_r41291054","pull_request_url":"https://api.github.com/repos/codice/ddf/pulls/238","_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments/41291054"},"html":{"href":"https://github.com/codice/ddf/pull/238#discussion_r41291054"},"pull_request":{"href":"https://api.github.com/repos/codice/ddf/pulls/238"}}},"pull_request":{"url":"https://api.github.com/repos/codice/ddf/pulls/238","id":46853498,"html_url":"https://github.com/codice/ddf/pull/238","diff_url":"https://github.com/codice/ddf/pull/238.diff","patch_url":"https://github.com/codice/ddf/pull/238.patch","issue_url":"https://api.github.com/repos/codice/ddf/issues/238","number":238,"state":"open","locked":false,"title":"DDF-1510","user":{"login":"tbatie","id":9013620,"avatar_url":"https://avatars.githubusercontent.com/u/9013620?v=3","gravatar_id":"","url":"https://api.github.com/users/tbatie","html_url":"https://github.com/tbatie","followers_url":"https://api.github.com/users/tbatie/followers","following_url":"https://api.github.com/users/tbatie/following{/other_user}","gists_url":"https://api.github.com/users/tbatie/gists{/gist_id}","starred_url":"https://api.github.com/users/tbatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbatie/subscriptions","organizations_url":"https://api.github.com/users/tbatie/orgs","repos_url":"https://api.github.com/users/tbatie/repos","events_url":"https://api.github.com/users/tbatie/events{/privacy}","received_events_url":"https://api.github.com/users/tbatie/received_events","type":"User","site_admin":false},"body":"Web Context Policy Manager settings are complex and require a one-to-one mapping between all fields\r\n\r\n - Created maps for attributes, context realms and authorizations to perform roll backs if necessary before setting the policy manager\r\n@jckilmer @rzwiefel  @roelens8 @coyotesqrl @ryeats","created_at":"2015-10-06T01:19:20Z","updated_at":"2015-10-06T16:55:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c7fe2c6ee012d1ac9f3782c286923da526bb08e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codice/ddf/pulls/238/commits","review_comments_url":"https://api.github.com/repos/codice/ddf/pulls/238/comments","review_comment_url":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codice/ddf/issues/238/comments","statuses_url":"https://api.github.com/repos/codice/ddf/statuses/c3536e37343324f40bc9a721399448e403cc81e4","head":{"label":"tbatie:DDF-1510","ref":"DDF-1510","sha":"c3536e37343324f40bc9a721399448e403cc81e4","user":{"login":"tbatie","id":9013620,"avatar_url":"https://avatars.githubusercontent.com/u/9013620?v=3","gravatar_id":"","url":"https://api.github.com/users/tbatie","html_url":"https://github.com/tbatie","followers_url":"https://api.github.com/users/tbatie/followers","following_url":"https://api.github.com/users/tbatie/following{/other_user}","gists_url":"https://api.github.com/users/tbatie/gists{/gist_id}","starred_url":"https://api.github.com/users/tbatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbatie/subscriptions","organizations_url":"https://api.github.com/users/tbatie/orgs","repos_url":"https://api.github.com/users/tbatie/repos","events_url":"https://api.github.com/users/tbatie/events{/privacy}","received_events_url":"https://api.github.com/users/tbatie/received_events","type":"User","site_admin":false},"repo":{"id":38900987,"name":"ddf","full_name":"tbatie/ddf","owner":{"login":"tbatie","id":9013620,"avatar_url":"https://avatars.githubusercontent.com/u/9013620?v=3","gravatar_id":"","url":"https://api.github.com/users/tbatie","html_url":"https://github.com/tbatie","followers_url":"https://api.github.com/users/tbatie/followers","following_url":"https://api.github.com/users/tbatie/following{/other_user}","gists_url":"https://api.github.com/users/tbatie/gists{/gist_id}","starred_url":"https://api.github.com/users/tbatie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbatie/subscriptions","organizations_url":"https://api.github.com/users/tbatie/orgs","repos_url":"https://api.github.com/users/tbatie/repos","events_url":"https://api.github.com/users/tbatie/events{/privacy}","received_events_url":"https://api.github.com/users/tbatie/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tbatie/ddf","description":"The Distributed Data Framework - Distribution, SDK, and Test","fork":true,"url":"https://api.github.com/repos/tbatie/ddf","forks_url":"https://api.github.com/repos/tbatie/ddf/forks","keys_url":"https://api.github.com/repos/tbatie/ddf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tbatie/ddf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tbatie/ddf/teams","hooks_url":"https://api.github.com/repos/tbatie/ddf/hooks","issue_events_url":"https://api.github.com/repos/tbatie/ddf/issues/events{/number}","events_url":"https://api.github.com/repos/tbatie/ddf/events","assignees_url":"https://api.github.com/repos/tbatie/ddf/assignees{/user}","branches_url":"https://api.github.com/repos/tbatie/ddf/branches{/branch}","tags_url":"https://api.github.com/repos/tbatie/ddf/tags","blobs_url":"https://api.github.com/repos/tbatie/ddf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tbatie/ddf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tbatie/ddf/git/refs{/sha}","trees_url":"https://api.github.com/repos/tbatie/ddf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tbatie/ddf/statuses/{sha}","languages_url":"https://api.github.com/repos/tbatie/ddf/languages","stargazers_url":"https://api.github.com/repos/tbatie/ddf/stargazers","contributors_url":"https://api.github.com/repos/tbatie/ddf/contributors","subscribers_url":"https://api.github.com/repos/tbatie/ddf/subscribers","subscription_url":"https://api.github.com/repos/tbatie/ddf/subscription","commits_url":"https://api.github.com/repos/tbatie/ddf/commits{/sha}","git_commits_url":"https://api.github.com/repos/tbatie/ddf/git/commits{/sha}","comments_url":"https://api.github.com/repos/tbatie/ddf/comments{/number}","issue_comment_url":"https://api.github.com/repos/tbatie/ddf/issues/comments{/number}","contents_url":"https://api.github.com/repos/tbatie/ddf/contents/{+path}","compare_url":"https://api.github.com/repos/tbatie/ddf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tbatie/ddf/merges","archive_url":"https://api.github.com/repos/tbatie/ddf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tbatie/ddf/downloads","issues_url":"https://api.github.com/repos/tbatie/ddf/issues{/number}","pulls_url":"https://api.github.com/repos/tbatie/ddf/pulls{/number}","milestones_url":"https://api.github.com/repos/tbatie/ddf/milestones{/number}","notifications_url":"https://api.github.com/repos/tbatie/ddf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tbatie/ddf/labels{/name}","releases_url":"https://api.github.com/repos/tbatie/ddf/releases{/id}","created_at":"2015-07-10T20:36:35Z","updated_at":"2015-07-10T20:36:36Z","pushed_at":"2015-10-06T01:17:55Z","git_url":"git://github.com/tbatie/ddf.git","ssh_url":"git@github.com:tbatie/ddf.git","clone_url":"https://github.com/tbatie/ddf.git","svn_url":"https://github.com/tbatie/ddf","homepage":"","size":120476,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"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":"eb4b0621e2d8c5e6da124336925eaa393a3a575e","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":"The Distributed Data Framework - Distribution, SDK, and Test","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}","created_at":"2013-12-13T20:38:28Z","updated_at":"2015-09-22T16:49:05Z","pushed_at":"2015-10-06T16:18:45Z","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":"","size":137059,"stargazers_count":22,"watchers_count":22,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":59,"mirror_url":null,"open_issues_count":18,"forks":59,"open_issues":18,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codice/ddf/pulls/238"},"html":{"href":"https://github.com/codice/ddf/pull/238"},"issue":{"href":"https://api.github.com/repos/codice/ddf/issues/238"},"comments":{"href":"https://api.github.com/repos/codice/ddf/issues/238/comments"},"review_comments":{"href":"https://api.github.com/repos/codice/ddf/pulls/238/comments"},"review_comment":{"href":"https://api.github.com/repos/codice/ddf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codice/ddf/pulls/238/commits"},"statuses":{"href":"https://api.github.com/repos/codice/ddf/statuses/c3536e37343324f40bc9a721399448e403cc81e4"}}}}