{"action":"opened","number":136,"pull_request":{"url":"https://api.github.com/repos/wso2/jaggery/pulls/136","id":44107015,"html_url":"https://github.com/wso2/jaggery/pull/136","diff_url":"https://github.com/wso2/jaggery/pull/136.diff","patch_url":"https://github.com/wso2/jaggery/pull/136.patch","issue_url":"https://api.github.com/repos/wso2/jaggery/issues/136","number":136,"state":"open","locked":false,"title":"Improved the function 'addSecurityConstraints' in 'TomcatJaggeryWebappsDeployer' to support User-Data-Constraint","user":{"login":"milanperera","id":11870191,"avatar_url":"https://avatars.githubusercontent.com/u/11870191?v=3","gravatar_id":"","url":"https://api.github.com/users/milanperera","html_url":"https://github.com/milanperera","followers_url":"https://api.github.com/users/milanperera/followers","following_url":"https://api.github.com/users/milanperera/following{/other_user}","gists_url":"https://api.github.com/users/milanperera/gists{/gist_id}","starred_url":"https://api.github.com/users/milanperera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milanperera/subscriptions","organizations_url":"https://api.github.com/users/milanperera/orgs","repos_url":"https://api.github.com/users/milanperera/repos","events_url":"https://api.github.com/users/milanperera/events{/privacy}","received_events_url":"https://api.github.com/users/milanperera/received_events","type":"User","site_admin":false},"body":"For an example, configuration can be defined in the jaggery.conf as follows:\r\n\r\n\"securityConstraints\": [\r\n        {\r\n            \"securityConstraint\": {\r\n                \"webResourceCollection\": {\r\n                    \"name\": \"MDM\",\r\n                    \"urlPatterns\": [\r\n                        \"/*\"\r\n                    ]\r\n                },\r\n                \"userDataConstraint\": {\r\n                    \"transportGuarantee\": \"CONFIDENTIAL\"\r\n                }\r\n            }\r\n      }\r\n]","created_at":"2015-09-03T13:33:46Z","updated_at":"2015-09-03T13:33:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/jaggery/pulls/136/commits","review_comments_url":"https://api.github.com/repos/wso2/jaggery/pulls/136/comments","review_comment_url":"https://api.github.com/repos/wso2/jaggery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/jaggery/issues/136/comments","statuses_url":"https://api.github.com/repos/wso2/jaggery/statuses/549f194ddb07777046be09555c411a92a73f7b9c","head":{"label":"milanperera:master","ref":"master","sha":"549f194ddb07777046be09555c411a92a73f7b9c","user":{"login":"milanperera","id":11870191,"avatar_url":"https://avatars.githubusercontent.com/u/11870191?v=3","gravatar_id":"","url":"https://api.github.com/users/milanperera","html_url":"https://github.com/milanperera","followers_url":"https://api.github.com/users/milanperera/followers","following_url":"https://api.github.com/users/milanperera/following{/other_user}","gists_url":"https://api.github.com/users/milanperera/gists{/gist_id}","starred_url":"https://api.github.com/users/milanperera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milanperera/subscriptions","organizations_url":"https://api.github.com/users/milanperera/orgs","repos_url":"https://api.github.com/users/milanperera/repos","events_url":"https://api.github.com/users/milanperera/events{/privacy}","received_events_url":"https://api.github.com/users/milanperera/received_events","type":"User","site_admin":false},"repo":{"id":41860127,"name":"jaggery","full_name":"milanperera/jaggery","owner":{"login":"milanperera","id":11870191,"avatar_url":"https://avatars.githubusercontent.com/u/11870191?v=3","gravatar_id":"","url":"https://api.github.com/users/milanperera","html_url":"https://github.com/milanperera","followers_url":"https://api.github.com/users/milanperera/followers","following_url":"https://api.github.com/users/milanperera/following{/other_user}","gists_url":"https://api.github.com/users/milanperera/gists{/gist_id}","starred_url":"https://api.github.com/users/milanperera/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milanperera/subscriptions","organizations_url":"https://api.github.com/users/milanperera/orgs","repos_url":"https://api.github.com/users/milanperera/repos","events_url":"https://api.github.com/users/milanperera/events{/privacy}","received_events_url":"https://api.github.com/users/milanperera/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/milanperera/jaggery","description":"The delicious Javascript framework","fork":true,"url":"https://api.github.com/repos/milanperera/jaggery","forks_url":"https://api.github.com/repos/milanperera/jaggery/forks","keys_url":"https://api.github.com/repos/milanperera/jaggery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/milanperera/jaggery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/milanperera/jaggery/teams","hooks_url":"https://api.github.com/repos/milanperera/jaggery/hooks","issue_events_url":"https://api.github.com/repos/milanperera/jaggery/issues/events{/number}","events_url":"https://api.github.com/repos/milanperera/jaggery/events","assignees_url":"https://api.github.com/repos/milanperera/jaggery/assignees{/user}","branches_url":"https://api.github.com/repos/milanperera/jaggery/branches{/branch}","tags_url":"https://api.github.com/repos/milanperera/jaggery/tags","blobs_url":"https://api.github.com/repos/milanperera/jaggery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/milanperera/jaggery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/milanperera/jaggery/git/refs{/sha}","trees_url":"https://api.github.com/repos/milanperera/jaggery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/milanperera/jaggery/statuses/{sha}","languages_url":"https://api.github.com/repos/milanperera/jaggery/languages","stargazers_url":"https://api.github.com/repos/milanperera/jaggery/stargazers","contributors_url":"https://api.github.com/repos/milanperera/jaggery/contributors","subscribers_url":"https://api.github.com/repos/milanperera/jaggery/subscribers","subscription_url":"https://api.github.com/repos/milanperera/jaggery/subscription","commits_url":"https://api.github.com/repos/milanperera/jaggery/commits{/sha}","git_commits_url":"https://api.github.com/repos/milanperera/jaggery/git/commits{/sha}","comments_url":"https://api.github.com/repos/milanperera/jaggery/comments{/number}","issue_comment_url":"https://api.github.com/repos/milanperera/jaggery/issues/comments{/number}","contents_url":"https://api.github.com/repos/milanperera/jaggery/contents/{+path}","compare_url":"https://api.github.com/repos/milanperera/jaggery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/milanperera/jaggery/merges","archive_url":"https://api.github.com/repos/milanperera/jaggery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/milanperera/jaggery/downloads","issues_url":"https://api.github.com/repos/milanperera/jaggery/issues{/number}","pulls_url":"https://api.github.com/repos/milanperera/jaggery/pulls{/number}","milestones_url":"https://api.github.com/repos/milanperera/jaggery/milestones{/number}","notifications_url":"https://api.github.com/repos/milanperera/jaggery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/milanperera/jaggery/labels{/name}","releases_url":"https://api.github.com/repos/milanperera/jaggery/releases{/id}","created_at":"2015-09-03T13:05:48Z","updated_at":"2015-09-03T13:05:49Z","pushed_at":"2015-09-03T13:20:32Z","git_url":"git://github.com/milanperera/jaggery.git","ssh_url":"git@github.com:milanperera/jaggery.git","clone_url":"https://github.com/milanperera/jaggery.git","svn_url":"https://github.com/milanperera/jaggery","homepage":null,"size":185704,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"wso2:master","ref":"master","sha":"87aae74d7a3e0e71e67cfa258990ad4428d1f19a","user":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"repo":{"id":5303159,"name":"jaggery","full_name":"wso2/jaggery","owner":{"login":"wso2","id":533043,"avatar_url":"https://avatars.githubusercontent.com/u/533043?v=3","gravatar_id":"","url":"https://api.github.com/users/wso2","html_url":"https://github.com/wso2","followers_url":"https://api.github.com/users/wso2/followers","following_url":"https://api.github.com/users/wso2/following{/other_user}","gists_url":"https://api.github.com/users/wso2/gists{/gist_id}","starred_url":"https://api.github.com/users/wso2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wso2/subscriptions","organizations_url":"https://api.github.com/users/wso2/orgs","repos_url":"https://api.github.com/users/wso2/repos","events_url":"https://api.github.com/users/wso2/events{/privacy}","received_events_url":"https://api.github.com/users/wso2/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wso2/jaggery","description":"The delicious Javascript framework","fork":false,"url":"https://api.github.com/repos/wso2/jaggery","forks_url":"https://api.github.com/repos/wso2/jaggery/forks","keys_url":"https://api.github.com/repos/wso2/jaggery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/jaggery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/jaggery/teams","hooks_url":"https://api.github.com/repos/wso2/jaggery/hooks","issue_events_url":"https://api.github.com/repos/wso2/jaggery/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/jaggery/events","assignees_url":"https://api.github.com/repos/wso2/jaggery/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/jaggery/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/jaggery/tags","blobs_url":"https://api.github.com/repos/wso2/jaggery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/jaggery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/jaggery/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/jaggery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/jaggery/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/jaggery/languages","stargazers_url":"https://api.github.com/repos/wso2/jaggery/stargazers","contributors_url":"https://api.github.com/repos/wso2/jaggery/contributors","subscribers_url":"https://api.github.com/repos/wso2/jaggery/subscribers","subscription_url":"https://api.github.com/repos/wso2/jaggery/subscription","commits_url":"https://api.github.com/repos/wso2/jaggery/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/jaggery/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/jaggery/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/jaggery/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/jaggery/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/jaggery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/jaggery/merges","archive_url":"https://api.github.com/repos/wso2/jaggery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/jaggery/downloads","issues_url":"https://api.github.com/repos/wso2/jaggery/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/jaggery/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/jaggery/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/jaggery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/jaggery/labels{/name}","releases_url":"https://api.github.com/repos/wso2/jaggery/releases{/id}","created_at":"2012-08-05T11:49:00Z","updated_at":"2015-08-16T17:07:20Z","pushed_at":"2015-08-21T18:47:07Z","git_url":"git://github.com/wso2/jaggery.git","ssh_url":"git@github.com:wso2/jaggery.git","clone_url":"https://github.com/wso2/jaggery.git","svn_url":"https://github.com/wso2/jaggery","homepage":null,"size":185704,"stargazers_count":50,"watchers_count":50,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":111,"mirror_url":null,"open_issues_count":51,"forks":111,"open_issues":51,"watchers":50,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/jaggery/pulls/136"},"html":{"href":"https://github.com/wso2/jaggery/pull/136"},"issue":{"href":"https://api.github.com/repos/wso2/jaggery/issues/136"},"comments":{"href":"https://api.github.com/repos/wso2/jaggery/issues/136/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/jaggery/pulls/136/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/jaggery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/jaggery/pulls/136/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/jaggery/statuses/549f194ddb07777046be09555c411a92a73f7b9c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":0,"changed_files":2}}