Im 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

   String username = request.getRemoteUser();
   <tr><td>User</td><td><%= username %></td></tr> 

 I have logged in with the username : supervisor 

So I expect the username to be : supervisor

But the result is :3d5bfb0c-9495-48b8-a11c-2e83097b2f39

What do I do wrong ? 

Met vriendelijke groet / Yours sincerely / Mit freundlichen Gren / Trs cordialement,

Henk Laracker