<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hi,</div><div><br></div><div>I’m using the key cloak tomcat 7 adaptor, I created a sample application which works fine with keycloak. I created a jsp page with the following code</div><div><br></div><div><div> String username = request.getRemoteUser();</div><div> <tr><td>User</td><td><%= username %></td></tr> </div></div><div><br></div><div><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><span lang="NL"> I have logged in with the username : supervisor </span></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><span lang="NL">So I expect the username to be : supervisor</span></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;">But the result is :<span style="color: rgb(0, 128, 0); font-family: Times; font-size: medium; widows: 1; background-color: rgb(0, 0, 0);">3d5bfb0c-9495-48b8-a11c-2e83097b2f39</span></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><span lang="NL"><br></span></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;">What do I do wrong ? </p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><span lang="NL"><br></span></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><span lang="NL">Met vriendelijke groet / Yours sincerely / Mit freundlichen Grüßen / Très cordialement,<o:p></o:p></span></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><br></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;">Henk Laracker<o:p></o:p></p><p class="MsoNormal" style="font-size: 11pt; margin: 0cm 0cm 0.0001pt;"><br></p></div></body></html>