title: Fetch Logged In Username in a webapp secured with Keycloak
body: <p>I have secured an enterprise application with Keycloak using standard wildfly based Keycloak adapters. Issue that I am facing is that the rest web services when invoked, needs to know the username that is currently logged in. How do I get the logged in user information from Keycloak?</p>
  
  <p>I tried using <code>SecurityContext</code> , <code>WebListener</code> etc. But none of them are able to give me the required details.</p>