{"action":"created","comment":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/39692140","id":39692140,"diff_hunk":"@@ -68,14 +89,31 @@ public void updateProfile(BPSProfileDTO bpsProfile, int tenantId)\n         Connection connection = null;\n         PreparedStatement prepStmt = null;\n         String query = SQLConstants.UPDATE_BPS_PROFILE_QUERY;\n+        String password = bpsProfile.getPassword();\n+        String callbackPassword = bpsProfile.getCallbackPassword();\n+        String profileName = bpsProfile.getProfileName();\n+        String encryptPassword;\n+        String encryptCallBackPassword;","path":"components/workflow-mgt/org.wso2.carbon.identity.workflow.mgt/src/main/java/org/wso2/carbon/identity/workflow/mgt/dao/BPSProfileDAO.java","position":60,"original_position":60,"commit_id":"af0aa440fba49703b733a367d8a24103e27fc888","original_commit_id":"af0aa440fba49703b733a367d8a24103e27fc888","user":{"login":"pulasthi7","id":1415573,"avatar_url":"https://avatars.githubusercontent.com/u/1415573?v=3","gravatar_id":"","url":"https://api.github.com/users/pulasthi7","html_url":"https://github.com/pulasthi7","followers_url":"https://api.github.com/users/pulasthi7/followers","following_url":"https://api.github.com/users/pulasthi7/following{/other_user}","gists_url":"https://api.github.com/users/pulasthi7/gists{/gist_id}","starred_url":"https://api.github.com/users/pulasthi7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulasthi7/subscriptions","organizations_url":"https://api.github.com/users/pulasthi7/orgs","repos_url":"https://api.github.com/users/pulasthi7/repos","events_url":"https://api.github.com/users/pulasthi7/events{/privacy}","received_events_url":"https://api.github.com/users/pulasthi7/received_events","type":"User","site_admin":false},"body":"better to rename the variables as encryptedxxxxxx","created_at":"2015-09-16T22:12:26Z","updated_at":"2015-09-16T22:12:26Z","html_url":"https://github.com/wso2/carbon-identity/pull/850#discussion_r39692140","pull_request_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/850","_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments/39692140"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/850#discussion_r39692140"},"pull_request":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/850"}}},"pull_request":{"url":"https://api.github.com/repos/wso2/carbon-identity/pulls/850","id":43121108,"html_url":"https://github.com/wso2/carbon-identity/pull/850","diff_url":"https://github.com/wso2/carbon-identity/pull/850.diff","patch_url":"https://github.com/wso2/carbon-identity/pull/850.patch","issue_url":"https://api.github.com/repos/wso2/carbon-identity/issues/850","number":850,"state":"closed","locked":false,"title":"Resolving JIRA-IDENTITY-3502","user":{"login":"kasungayan","id":11533672,"avatar_url":"https://avatars.githubusercontent.com/u/11533672?v=3","gravatar_id":"","url":"https://api.github.com/users/kasungayan","html_url":"https://github.com/kasungayan","followers_url":"https://api.github.com/users/kasungayan/followers","following_url":"https://api.github.com/users/kasungayan/following{/other_user}","gists_url":"https://api.github.com/users/kasungayan/gists{/gist_id}","starred_url":"https://api.github.com/users/kasungayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasungayan/subscriptions","organizations_url":"https://api.github.com/users/kasungayan/orgs","repos_url":"https://api.github.com/users/kasungayan/repos","events_url":"https://api.github.com/users/kasungayan/events{/privacy}","received_events_url":"https://api.github.com/users/kasungayan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-23T13:15:32Z","updated_at":"2015-09-16T22:12:26Z","closed_at":"2015-08-23T17:00:54Z","merged_at":"2015-08-23T17:00:54Z","merge_commit_sha":"d83568da2d72f05a7f8ecb9614110c4b7ad80cd4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/850/commits","review_comments_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/850/comments","review_comment_url":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/issues/850/comments","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/af0aa440fba49703b733a367d8a24103e27fc888","head":{"label":"kasungayan:JIRA-IDENTITY-3502","ref":"JIRA-IDENTITY-3502","sha":"af0aa440fba49703b733a367d8a24103e27fc888","user":{"login":"kasungayan","id":11533672,"avatar_url":"https://avatars.githubusercontent.com/u/11533672?v=3","gravatar_id":"","url":"https://api.github.com/users/kasungayan","html_url":"https://github.com/kasungayan","followers_url":"https://api.github.com/users/kasungayan/followers","following_url":"https://api.github.com/users/kasungayan/following{/other_user}","gists_url":"https://api.github.com/users/kasungayan/gists{/gist_id}","starred_url":"https://api.github.com/users/kasungayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasungayan/subscriptions","organizations_url":"https://api.github.com/users/kasungayan/orgs","repos_url":"https://api.github.com/users/kasungayan/repos","events_url":"https://api.github.com/users/kasungayan/events{/privacy}","received_events_url":"https://api.github.com/users/kasungayan/received_events","type":"User","site_admin":false},"repo":{"id":36638414,"name":"carbon-identity","full_name":"kasungayan/carbon-identity","owner":{"login":"kasungayan","id":11533672,"avatar_url":"https://avatars.githubusercontent.com/u/11533672?v=3","gravatar_id":"","url":"https://api.github.com/users/kasungayan","html_url":"https://github.com/kasungayan","followers_url":"https://api.github.com/users/kasungayan/followers","following_url":"https://api.github.com/users/kasungayan/following{/other_user}","gists_url":"https://api.github.com/users/kasungayan/gists{/gist_id}","starred_url":"https://api.github.com/users/kasungayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kasungayan/subscriptions","organizations_url":"https://api.github.com/users/kasungayan/orgs","repos_url":"https://api.github.com/users/kasungayan/repos","events_url":"https://api.github.com/users/kasungayan/events{/privacy}","received_events_url":"https://api.github.com/users/kasungayan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kasungayan/carbon-identity","description":"","fork":true,"url":"https://api.github.com/repos/kasungayan/carbon-identity","forks_url":"https://api.github.com/repos/kasungayan/carbon-identity/forks","keys_url":"https://api.github.com/repos/kasungayan/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kasungayan/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kasungayan/carbon-identity/teams","hooks_url":"https://api.github.com/repos/kasungayan/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/kasungayan/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/kasungayan/carbon-identity/events","assignees_url":"https://api.github.com/repos/kasungayan/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/kasungayan/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/kasungayan/carbon-identity/tags","blobs_url":"https://api.github.com/repos/kasungayan/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kasungayan/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kasungayan/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/kasungayan/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kasungayan/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/kasungayan/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/kasungayan/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/kasungayan/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/kasungayan/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/kasungayan/carbon-identity/subscription","commits_url":"https://api.github.com/repos/kasungayan/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/kasungayan/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/kasungayan/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/kasungayan/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/kasungayan/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/kasungayan/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kasungayan/carbon-identity/merges","archive_url":"https://api.github.com/repos/kasungayan/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kasungayan/carbon-identity/downloads","issues_url":"https://api.github.com/repos/kasungayan/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/kasungayan/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/kasungayan/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/kasungayan/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kasungayan/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/kasungayan/carbon-identity/releases{/id}","created_at":"2015-06-01T04:47:00Z","updated_at":"2015-06-01T04:47:08Z","pushed_at":"2015-09-16T13:46:41Z","git_url":"git://github.com/kasungayan/carbon-identity.git","ssh_url":"git@github.com:kasungayan/carbon-identity.git","clone_url":"https://github.com/kasungayan/carbon-identity.git","svn_url":"https://github.com/kasungayan/carbon-identity","homepage":null,"size":46052,"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":"30a9844272f9f70afe205fcb74a8945f55b50e8d","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":16588204,"name":"carbon-identity","full_name":"wso2/carbon-identity","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/carbon-identity","description":"","fork":false,"url":"https://api.github.com/repos/wso2/carbon-identity","forks_url":"https://api.github.com/repos/wso2/carbon-identity/forks","keys_url":"https://api.github.com/repos/wso2/carbon-identity/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wso2/carbon-identity/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wso2/carbon-identity/teams","hooks_url":"https://api.github.com/repos/wso2/carbon-identity/hooks","issue_events_url":"https://api.github.com/repos/wso2/carbon-identity/issues/events{/number}","events_url":"https://api.github.com/repos/wso2/carbon-identity/events","assignees_url":"https://api.github.com/repos/wso2/carbon-identity/assignees{/user}","branches_url":"https://api.github.com/repos/wso2/carbon-identity/branches{/branch}","tags_url":"https://api.github.com/repos/wso2/carbon-identity/tags","blobs_url":"https://api.github.com/repos/wso2/carbon-identity/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wso2/carbon-identity/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wso2/carbon-identity/git/refs{/sha}","trees_url":"https://api.github.com/repos/wso2/carbon-identity/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wso2/carbon-identity/statuses/{sha}","languages_url":"https://api.github.com/repos/wso2/carbon-identity/languages","stargazers_url":"https://api.github.com/repos/wso2/carbon-identity/stargazers","contributors_url":"https://api.github.com/repos/wso2/carbon-identity/contributors","subscribers_url":"https://api.github.com/repos/wso2/carbon-identity/subscribers","subscription_url":"https://api.github.com/repos/wso2/carbon-identity/subscription","commits_url":"https://api.github.com/repos/wso2/carbon-identity/commits{/sha}","git_commits_url":"https://api.github.com/repos/wso2/carbon-identity/git/commits{/sha}","comments_url":"https://api.github.com/repos/wso2/carbon-identity/comments{/number}","issue_comment_url":"https://api.github.com/repos/wso2/carbon-identity/issues/comments{/number}","contents_url":"https://api.github.com/repos/wso2/carbon-identity/contents/{+path}","compare_url":"https://api.github.com/repos/wso2/carbon-identity/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wso2/carbon-identity/merges","archive_url":"https://api.github.com/repos/wso2/carbon-identity/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wso2/carbon-identity/downloads","issues_url":"https://api.github.com/repos/wso2/carbon-identity/issues{/number}","pulls_url":"https://api.github.com/repos/wso2/carbon-identity/pulls{/number}","milestones_url":"https://api.github.com/repos/wso2/carbon-identity/milestones{/number}","notifications_url":"https://api.github.com/repos/wso2/carbon-identity/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wso2/carbon-identity/labels{/name}","releases_url":"https://api.github.com/repos/wso2/carbon-identity/releases{/id}","created_at":"2014-02-06T17:58:23Z","updated_at":"2015-07-24T18:32:22Z","pushed_at":"2015-09-16T14:22:44Z","git_url":"git://github.com/wso2/carbon-identity.git","ssh_url":"git@github.com:wso2/carbon-identity.git","clone_url":"https://github.com/wso2/carbon-identity.git","svn_url":"https://github.com/wso2/carbon-identity","homepage":null,"size":114010,"stargazers_count":6,"watchers_count":6,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":65,"forks":128,"open_issues":65,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/850"},"html":{"href":"https://github.com/wso2/carbon-identity/pull/850"},"issue":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/850"},"comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/issues/850/comments"},"review_comments":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/850/comments"},"review_comment":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wso2/carbon-identity/pulls/850/commits"},"statuses":{"href":"https://api.github.com/repos/wso2/carbon-identity/statuses/af0aa440fba49703b733a367d8a24103e27fc888"}}}}