{"action":"created","comment":{"url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/comments/40727580","id":40727580,"diff_hunk":"@@ -0,0 +1,61 @@\n+/*\n+ * JBoss, Home of Professional Open Source.\n+ * Copyright 2015 Red Hat, Inc., and individual contributors\n+ * as indicated by the @author tags.\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ *     http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package org.wildfly.security.auth.server;\n+\n+/**\n+ * Authentication process information for credential selection mappers.\n+ *\n+ * @author <a href=\"mailto:jkalina@redhat.com\">Jan Kalina</a>\n+ */\n+public class AuthenticationInformation {","path":"src/main/java/org/wildfly/security/auth/server/AuthenticationInformation.java","position":26,"original_position":26,"commit_id":"81a43b1b94ed76620b983febe819ad64448eb27b","original_commit_id":"4b1b2843ade39e47cdc47c87604f88c4edfbdc92","user":{"login":"honza889","id":3178122,"avatar_url":"https://avatars.githubusercontent.com/u/3178122?v=3","gravatar_id":"","url":"https://api.github.com/users/honza889","html_url":"https://github.com/honza889","followers_url":"https://api.github.com/users/honza889/followers","following_url":"https://api.github.com/users/honza889/following{/other_user}","gists_url":"https://api.github.com/users/honza889/gists{/gist_id}","starred_url":"https://api.github.com/users/honza889/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honza889/subscriptions","organizations_url":"https://api.github.com/users/honza889/orgs","repos_url":"https://api.github.com/users/honza889/repos","events_url":"https://api.github.com/users/honza889/events{/privacy}","received_events_url":"https://api.github.com/users/honza889/received_events","type":"User","site_admin":false},"body":"Ok, it look like good reason to add new builder.","created_at":"2015-09-29T20:50:49Z","updated_at":"2015-09-29T20:50:49Z","html_url":"https://github.com/wildfly-security/wildfly-elytron/pull/287#discussion_r40727580","pull_request_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287","_links":{"self":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/comments/40727580"},"html":{"href":"https://github.com/wildfly-security/wildfly-elytron/pull/287#discussion_r40727580"},"pull_request":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287"}}},"pull_request":{"url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287","id":45386489,"html_url":"https://github.com/wildfly-security/wildfly-elytron/pull/287","diff_url":"https://github.com/wildfly-security/wildfly-elytron/pull/287.diff","patch_url":"https://github.com/wildfly-security/wildfly-elytron/pull/287.patch","issue_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/287","number":287,"state":"open","locked":false,"title":"[ELY-282][API-change] type+algorithm replaced by credentialName","user":{"login":"honza889","id":3178122,"avatar_url":"https://avatars.githubusercontent.com/u/3178122?v=3","gravatar_id":"","url":"https://api.github.com/users/honza889","html_url":"https://github.com/honza889","followers_url":"https://api.github.com/users/honza889/followers","following_url":"https://api.github.com/users/honza889/following{/other_user}","gists_url":"https://api.github.com/users/honza889/gists{/gist_id}","starred_url":"https://api.github.com/users/honza889/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honza889/subscriptions","organizations_url":"https://api.github.com/users/honza889/orgs","repos_url":"https://api.github.com/users/honza889/repos","events_url":"https://api.github.com/users/honza889/events{/privacy}","received_events_url":"https://api.github.com/users/honza889/received_events","type":"User","site_admin":false},"body":"API change by https://issues.jboss.org/browse/ELY-282\r\n\r\n* credentials identified by `credentialName`, not by `type`+`algorithm`\r\n* `FileSystemSecurityRealm`, `SimpleMapBackedSecurityRealm` and `KeyStoreBackedSecurityRealm`  allow store any type of credential into any credential name (store credentialName as part of credential or as username suffix)\r\n* `JaasSecurityRealm` use one special credentialName - `\"jass\"`\r\n* `LegacyPropertiesSecurityRealm` use one special credentialNames `\"properties-clear\"` and `\"properties-digest\"`\r\n* `LdapSecurityRealm` map credentail attribute name and algorithm into credential name\r\n* `JdbcSecurityRealm` allow define credential name as part of credential column definition\r\n\r\nTests:\r\n* Whole testing of `\"ldap-verifiable\"` in `ldap.PasswordValidationTest` (part was in `ldap.PasswordSupportTest`)","created_at":"2015-09-18T09:32:54Z","updated_at":"2015-09-29T20:50:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df73936f036e11c5b43887178999f77404e431f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287/commits","review_comments_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287/comments","review_comment_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/287/comments","statuses_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/statuses/81a43b1b94ed76620b983febe819ad64448eb27b","head":{"label":"honza889:credlabel","ref":"credlabel","sha":"81a43b1b94ed76620b983febe819ad64448eb27b","user":{"login":"honza889","id":3178122,"avatar_url":"https://avatars.githubusercontent.com/u/3178122?v=3","gravatar_id":"","url":"https://api.github.com/users/honza889","html_url":"https://github.com/honza889","followers_url":"https://api.github.com/users/honza889/followers","following_url":"https://api.github.com/users/honza889/following{/other_user}","gists_url":"https://api.github.com/users/honza889/gists{/gist_id}","starred_url":"https://api.github.com/users/honza889/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honza889/subscriptions","organizations_url":"https://api.github.com/users/honza889/orgs","repos_url":"https://api.github.com/users/honza889/repos","events_url":"https://api.github.com/users/honza889/events{/privacy}","received_events_url":"https://api.github.com/users/honza889/received_events","type":"User","site_admin":false},"repo":{"id":22644117,"name":"wildfly-elytron","full_name":"honza889/wildfly-elytron","owner":{"login":"honza889","id":3178122,"avatar_url":"https://avatars.githubusercontent.com/u/3178122?v=3","gravatar_id":"","url":"https://api.github.com/users/honza889","html_url":"https://github.com/honza889","followers_url":"https://api.github.com/users/honza889/followers","following_url":"https://api.github.com/users/honza889/following{/other_user}","gists_url":"https://api.github.com/users/honza889/gists{/gist_id}","starred_url":"https://api.github.com/users/honza889/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/honza889/subscriptions","organizations_url":"https://api.github.com/users/honza889/orgs","repos_url":"https://api.github.com/users/honza889/repos","events_url":"https://api.github.com/users/honza889/events{/privacy}","received_events_url":"https://api.github.com/users/honza889/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/honza889/wildfly-elytron","description":"WildFly Elytron: Security, Authentication, and Authorization SPIs for the WildFly project","fork":true,"url":"https://api.github.com/repos/honza889/wildfly-elytron","forks_url":"https://api.github.com/repos/honza889/wildfly-elytron/forks","keys_url":"https://api.github.com/repos/honza889/wildfly-elytron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/honza889/wildfly-elytron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/honza889/wildfly-elytron/teams","hooks_url":"https://api.github.com/repos/honza889/wildfly-elytron/hooks","issue_events_url":"https://api.github.com/repos/honza889/wildfly-elytron/issues/events{/number}","events_url":"https://api.github.com/repos/honza889/wildfly-elytron/events","assignees_url":"https://api.github.com/repos/honza889/wildfly-elytron/assignees{/user}","branches_url":"https://api.github.com/repos/honza889/wildfly-elytron/branches{/branch}","tags_url":"https://api.github.com/repos/honza889/wildfly-elytron/tags","blobs_url":"https://api.github.com/repos/honza889/wildfly-elytron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/honza889/wildfly-elytron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/honza889/wildfly-elytron/git/refs{/sha}","trees_url":"https://api.github.com/repos/honza889/wildfly-elytron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/honza889/wildfly-elytron/statuses/{sha}","languages_url":"https://api.github.com/repos/honza889/wildfly-elytron/languages","stargazers_url":"https://api.github.com/repos/honza889/wildfly-elytron/stargazers","contributors_url":"https://api.github.com/repos/honza889/wildfly-elytron/contributors","subscribers_url":"https://api.github.com/repos/honza889/wildfly-elytron/subscribers","subscription_url":"https://api.github.com/repos/honza889/wildfly-elytron/subscription","commits_url":"https://api.github.com/repos/honza889/wildfly-elytron/commits{/sha}","git_commits_url":"https://api.github.com/repos/honza889/wildfly-elytron/git/commits{/sha}","comments_url":"https://api.github.com/repos/honza889/wildfly-elytron/comments{/number}","issue_comment_url":"https://api.github.com/repos/honza889/wildfly-elytron/issues/comments{/number}","contents_url":"https://api.github.com/repos/honza889/wildfly-elytron/contents/{+path}","compare_url":"https://api.github.com/repos/honza889/wildfly-elytron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/honza889/wildfly-elytron/merges","archive_url":"https://api.github.com/repos/honza889/wildfly-elytron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/honza889/wildfly-elytron/downloads","issues_url":"https://api.github.com/repos/honza889/wildfly-elytron/issues{/number}","pulls_url":"https://api.github.com/repos/honza889/wildfly-elytron/pulls{/number}","milestones_url":"https://api.github.com/repos/honza889/wildfly-elytron/milestones{/number}","notifications_url":"https://api.github.com/repos/honza889/wildfly-elytron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/honza889/wildfly-elytron/labels{/name}","releases_url":"https://api.github.com/repos/honza889/wildfly-elytron/releases{/id}","created_at":"2014-08-05T13:17:41Z","updated_at":"2015-07-02T09:59:15Z","pushed_at":"2015-09-29T16:52:08Z","git_url":"git://github.com/honza889/wildfly-elytron.git","ssh_url":"git@github.com:honza889/wildfly-elytron.git","clone_url":"https://github.com/honza889/wildfly-elytron.git","svn_url":"https://github.com/honza889/wildfly-elytron","homepage":"","size":3474,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"wildfly-security:master","ref":"master","sha":"cfb196e98e40d20c9230199e77bfce45225494fd","user":{"login":"wildfly-security","id":7501379,"avatar_url":"https://avatars.githubusercontent.com/u/7501379?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-security","html_url":"https://github.com/wildfly-security","followers_url":"https://api.github.com/users/wildfly-security/followers","following_url":"https://api.github.com/users/wildfly-security/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-security/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-security/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-security/subscriptions","organizations_url":"https://api.github.com/users/wildfly-security/orgs","repos_url":"https://api.github.com/users/wildfly-security/repos","events_url":"https://api.github.com/users/wildfly-security/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-security/received_events","type":"Organization","site_admin":false},"repo":{"id":13660977,"name":"wildfly-elytron","full_name":"wildfly-security/wildfly-elytron","owner":{"login":"wildfly-security","id":7501379,"avatar_url":"https://avatars.githubusercontent.com/u/7501379?v=3","gravatar_id":"","url":"https://api.github.com/users/wildfly-security","html_url":"https://github.com/wildfly-security","followers_url":"https://api.github.com/users/wildfly-security/followers","following_url":"https://api.github.com/users/wildfly-security/following{/other_user}","gists_url":"https://api.github.com/users/wildfly-security/gists{/gist_id}","starred_url":"https://api.github.com/users/wildfly-security/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wildfly-security/subscriptions","organizations_url":"https://api.github.com/users/wildfly-security/orgs","repos_url":"https://api.github.com/users/wildfly-security/repos","events_url":"https://api.github.com/users/wildfly-security/events{/privacy}","received_events_url":"https://api.github.com/users/wildfly-security/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wildfly-security/wildfly-elytron","description":"WildFly Elytron: Security, Authentication, and Authorization SPIs for the WildFly project","fork":false,"url":"https://api.github.com/repos/wildfly-security/wildfly-elytron","forks_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/forks","keys_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/teams","hooks_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/hooks","issue_events_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/events{/number}","events_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/events","assignees_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/assignees{/user}","branches_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/branches{/branch}","tags_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/tags","blobs_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/git/refs{/sha}","trees_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/statuses/{sha}","languages_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/languages","stargazers_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/stargazers","contributors_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/contributors","subscribers_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/subscribers","subscription_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/subscription","commits_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/commits{/sha}","git_commits_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/git/commits{/sha}","comments_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/comments{/number}","issue_comment_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/comments{/number}","contents_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/contents/{+path}","compare_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/merges","archive_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/downloads","issues_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues{/number}","pulls_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls{/number}","milestones_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/milestones{/number}","notifications_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/labels{/name}","releases_url":"https://api.github.com/repos/wildfly-security/wildfly-elytron/releases{/id}","created_at":"2013-10-17T20:57:07Z","updated_at":"2015-08-25T22:11:22Z","pushed_at":"2015-09-29T16:52:08Z","git_url":"git://github.com/wildfly-security/wildfly-elytron.git","ssh_url":"git@github.com:wildfly-security/wildfly-elytron.git","clone_url":"https://github.com/wildfly-security/wildfly-elytron.git","svn_url":"https://github.com/wildfly-security/wildfly-elytron","homepage":"http://wildfly.org/","size":16176,"stargazers_count":9,"watchers_count":9,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":20,"mirror_url":null,"open_issues_count":5,"forks":20,"open_issues":5,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287"},"html":{"href":"https://github.com/wildfly-security/wildfly-elytron/pull/287"},"issue":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/287"},"comments":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/issues/287/comments"},"review_comments":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287/comments"},"review_comment":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/pulls/287/commits"},"statuses":{"href":"https://api.github.com/repos/wildfly-security/wildfly-elytron/statuses/81a43b1b94ed76620b983febe819ad64448eb27b"}}}}