Merge pull request #3710 from mhajas/KEYCLOAK-3488

KEYCLOAK-3488 Add missing test
This commit is contained in:
Pavel Drozd 2017-01-05 11:03:35 +01:00 committed by GitHub
commit cf5c3aa53b

View file

@ -195,7 +195,10 @@ public class SendUsernameServlet {
output += "<br /> friendlyAttribute email: " + principal.getFriendlyAttribute("email");
output += "<br /> phone: " + principal.getAttribute("phone");
output += "<br /> friendlyAttribute phone: " + principal.getFriendlyAttribute("phone");
output += "<br /> hardcoded-attribute: " + principal.getAttribute("hardcoded-attribute");
output += "<br /> hardcoded-attribute: ";
for (String attr : principal.getAttributes("hardcoded-attribute")) {
output += attr + ",";
}
return output;
}