{"action":"created","issue":{"url":"https://api.github.com/repos/apereo/cas/issues/2114","repository_url":"https://api.github.com/repos/apereo/cas","labels_url":"https://api.github.com/repos/apereo/cas/issues/2114/labels{/name}","comments_url":"https://api.github.com/repos/apereo/cas/issues/2114/comments","events_url":"https://api.github.com/repos/apereo/cas/issues/2114/events","html_url":"https://github.com/apereo/cas/pull/2114","id":188003114,"number":2114,"title":"Fix for issue #2112 related to checking password with stored password…","user":{"login":"rohajda","id":5052593,"avatar_url":"https://avatars.githubusercontent.com/u/5052593?v=3","gravatar_id":"","url":"https://api.github.com/users/rohajda","html_url":"https://github.com/rohajda","followers_url":"https://api.github.com/users/rohajda/followers","following_url":"https://api.github.com/users/rohajda/following{/other_user}","gists_url":"https://api.github.com/users/rohajda/gists{/gist_id}","starred_url":"https://api.github.com/users/rohajda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohajda/subscriptions","organizations_url":"https://api.github.com/users/rohajda/orgs","repos_url":"https://api.github.com/users/rohajda/repos","events_url":"https://api.github.com/users/rohajda/events{/privacy}","received_events_url":"https://api.github.com/users/rohajda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-08T14:18:25Z","updated_at":"2016-11-08T14:18:26Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apereo/cas/pulls/2114","html_url":"https://github.com/apereo/cas/pull/2114","diff_url":"https://github.com/apereo/cas/pull/2114.diff","patch_url":"https://github.com/apereo/cas/pull/2114.patch"},"body":"Closes #2112 \r\n### Step1)\r\nInto class **AbstractUsernamePasswordAuthenticationHandler** add new method (reason is that only this abstract class has passwordEncoder)\r\n\r\n```\r\npublic boolean matches(final CharSequence rawPassword,final String password){\r\n    return this.passwordEncoder.matches(rawPassword,password);\r\n}\r\n```\r\n\r\n### Step2)\r\nModify **QueryDatabaseAuthenticationHandler** particular if statement to\r\n\r\n```\r\nif (!this.matches(password, dbPassword)) {\r\n                throw new FailedLoginException(\"Password does not match value on record.\");\r\n            }\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/apereo/cas/issues/comments/259147800","html_url":"https://github.com/apereo/cas/pull/2114#issuecomment-259147800","issue_url":"https://api.github.com/repos/apereo/cas/issues/2114","id":259147800,"user":{"login":"CLAassistant","id":11571300,"avatar_url":"https://avatars.githubusercontent.com/u/11571300?v=3","gravatar_id":"","url":"https://api.github.com/users/CLAassistant","html_url":"https://github.com/CLAassistant","followers_url":"https://api.github.com/users/CLAassistant/followers","following_url":"https://api.github.com/users/CLAassistant/following{/other_user}","gists_url":"https://api.github.com/users/CLAassistant/gists{/gist_id}","starred_url":"https://api.github.com/users/CLAassistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CLAassistant/subscriptions","organizations_url":"https://api.github.com/users/CLAassistant/orgs","repos_url":"https://api.github.com/users/CLAassistant/repos","events_url":"https://api.github.com/users/CLAassistant/events{/privacy}","received_events_url":"https://api.github.com/users/CLAassistant/received_events","type":"User","site_admin":false},"created_at":"2016-11-08T14:18:26Z","updated_at":"2016-11-08T14:18:26Z","body":"[![CLA assistant check](https://cla-assistant.io/pull/badge/not_signed)](https://cla-assistant.io/apereo/cas?pullRequest=2114) <br/>Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our [Contributor License Agreement](https://cla-assistant.io/apereo/cas?pullRequest=2114) before we can accept your contribution.<br/><hr/>**Robert Ohajda** seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please [add the email address used for this commit to your account](https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user)."}}
{"actor":{"display_login":"CLAassistant"}}