KEYCLOAK-3488 Add missing test
This commit is contained in:
parent
732d56b0c0
commit
e0bc56960b
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue